Commit 786fbfd8b5441226bcc59daf89410b3ddeb30e06
1 parent
8379e9e3
Exists in
master
and in
1 other branch
files settings to deploy
Showing
4 changed files
with
3 additions
and
66 deletions
Show diff stats
config/deploy.rb
1 | # Change these | 1 | # Change these |
2 | -server '150.165.204.80', port: 22, password: 'l1br4s-l1v3', roles: [:web, :app, :db], primary: true | 2 | +server '<ip da maquina>', port: 22, roles: [:web, :app, :db], primary: true |
3 | 3 | ||
4 | -set :repo_url, 'git@git.lavid.ufpb.br:vlibras-web2.git' | ||
5 | -set :application, 'vlibras-web2' | 4 | +set :repo_url, '<git-do-vlibrasvideo>' |
5 | +set :application, '<nome-da-aplicacao>' | ||
6 | set :user, 'deployer' | 6 | set :user, 'deployer' |
7 | set :puma_threads, [4, 16] | 7 | set :puma_threads, [4, 16] |
8 | set :puma_workers, 0 | 8 | set :puma_workers, 0 |
config/deploy/ufpb.rb
@@ -1,45 +0,0 @@ | @@ -1,45 +0,0 @@ | ||
1 | -# -*- encoding : utf-8 -*- | ||
2 | -# Simple Role Syntax | ||
3 | -# ================== | ||
4 | -# Supports bulk-adding hosts to roles, the primary server in each group | ||
5 | -# is considered to be the first unless any hosts have the primary | ||
6 | -# property set. Don't declare `role :all`, it's a meta role. | ||
7 | - | ||
8 | -# role :web, %w{deploy@example.com} | ||
9 | - | ||
10 | - | ||
11 | -# Extended Server Syntax | ||
12 | -# ====================== | ||
13 | -# This can be used to drop a more detailed server definition into the | ||
14 | -# server list. The second argument is a, or duck-types, Hash and is | ||
15 | -# used to set extended properties on the server. | ||
16 | - | ||
17 | -server '150.165.204.80', port: 22, user: 'deployer', password: 'l1br4s-l1v3', roles: %w{web app} | ||
18 | - | ||
19 | -set :rails_env, 'production' | ||
20 | - | ||
21 | -# Custom SSH Options | ||
22 | -# ================== | ||
23 | -# You may pass any option but keep in mind that net/ssh understands a | ||
24 | -# limited set of options, consult[net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start). | ||
25 | -# | ||
26 | -# Global options | ||
27 | -# -------------- | ||
28 | -# set :ssh_options, { | ||
29 | -# keys: %w(/home/rlisowski/.ssh/id_rsa), | ||
30 | -# forward_agent: false, | ||
31 | -# auth_methods: %w(password) | ||
32 | -# } | ||
33 | -# | ||
34 | -# And/or per server (overrides global) | ||
35 | -# ------------------------------------ | ||
36 | -# server '150.165.204.80', | ||
37 | -# user: 'deployer', | ||
38 | -# roles: %w{web}, | ||
39 | -# ssh_options: { | ||
40 | -# user: 'deployer', # overrides user setting above | ||
41 | -# # keys: %w(/home/user_name/.ssh/id_rsa), | ||
42 | -# forward_agent: false, | ||
43 | -# auth_methods: %w(publickey password), | ||
44 | -# password: 'l1br4s-l1v3' | ||
45 | -# } |
config/examples/Procfile.deployment
config/examples/thin.yml
@@ -1,16 +0,0 @@ | @@ -1,16 +0,0 @@ | ||
1 | ---- | ||
2 | -chdir: "/srv/vlibras-web2/current" | ||
3 | -environment: production | ||
4 | -address: 0.0.0.0 | ||
5 | -timeout: 30 | ||
6 | -log: "/srv/vlibras-web2/shared/log/thin.log" | ||
7 | -pid: "/tmp/pids/thin.pid" | ||
8 | -max_conns: 1024 | ||
9 | -max_persistent_conns: 100 | ||
10 | -require: [] | ||
11 | -wait: 30 | ||
12 | -threadpool_size: 20 | ||
13 | - | ||
14 | -# port: 3000 | ||
15 | -# servers: 3 | ||
16 | -# daemonize: true | ||
17 | \ No newline at end of file | 0 | \ No newline at end of file |