X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=config%2Fdeploy%2Fproduction.rb;h=6d371965b772515fee06fe6e28906bf186369ad5;hb=a2fd0931205b2f5ca9a612310a534c1e7f1ab6ad;hp=9632098a9ea0539f0e255bb6e9d1685de03e031e;hpb=124e43e1bd45cb4e6af364274eaa44a75fd99472;p=feedcatcher.git diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 9632098..6d37196 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -5,9 +5,9 @@ set :stage, :production # Supports bulk-adding hosts to roles, the primary # server in each group is considered to be the first # unless any hosts have the primary property set. -role :app, %w{deploy@example.com} -role :web, %w{deploy@example.com} -role :db, %w{deploy@example.com} +role :app, %w{deploy@feedcatcher.njae.me.uk} +role :web, %w{deploy@feedcatcher.njae.me.uk} +role :db, %w{deploy@feedcatcher.njae.me.uk}, primary: true # Extended Server Syntax # ====================== @@ -15,7 +15,7 @@ role :db, %w{deploy@example.com} # definition into the server list. The second argument # something that quacks like a hash can be used to set # extended properties on the server. -server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value +# server 'example.com', user: 'deploy', roles: %w{web app}, my_property: :my_value # you can set custom ssh options # it's possible to pass any option but you need to keep in mind that net/ssh understand limited list of options