Tweaked the Gemfile again
[feedcatcher.git] / config / deploy / production.rb
1 set :stage, :production
2
3 # Simple Role Syntax
4 # ==================
5 # Supports bulk-adding hosts to roles, the primary
6 # server in each group is considered to be the first
7 # unless any hosts have the primary property set.
8 role :app, %w{deploy@feedcatcher.njae.me.uk}
9 role :web, %w{deploy@feedcatcher.njae.me.uk}
10 role :db, %w{deploy@feedcatcher.njae.me.uk}, primary: true
11
12 # Extended Server Syntax
13 # ======================
14 # This can be used to drop a more detailed server
15 # definition into the server list. The second argument
16 # something that quacks like a hash can be used to set
17 # extended properties on the server.
18 # server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value
19
20 # you can set custom ssh options
21 # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options
22 # you can see them in [net/ssh documentation](http://net-ssh.github.io/net-ssh/classes/Net/SSH.html#method-c-start)
23 # set it globally
24 # set :ssh_options, {
25 # keys: %w(/home/rlisowski/.ssh/id_rsa),
26 # forward_agent: false,
27 # auth_methods: %w(password)
28 # }
29 # and/or per server
30 # server 'example.com',
31 # user: 'user_name',
32 # roles: %w{web app},
33 # ssh_options: {
34 # user: 'user_name', # overrides user setting above
35 # keys: %w(/home/user_name/.ssh/id_rsa),
36 # forward_agent: false,
37 # auth_methods: %w(publickey password)
38 # # password: 'please use keys'
39 # }
40 # setting per server overrides global ssh_options
41
42 # fetch(:default_env).merge!(rails_env: :production)