diff --git a/Gemfile.lock b/Gemfile.lock index a64de866..c0dd2cf8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,7 +62,7 @@ GEM builder (3.2.3) byebug (11.0.1) cancancan (1.17.0) - capistrano (3.11.2) + capistrano (3.10.1) airbrussh (>= 1.0.0) i18n rake (>= 10.0.0) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 8c23cfa6..23a6daf7 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -12,6 +12,7 @@ set :stage, :production set :server_name, "svr.sxrestaurant.host" set :full_app_name, "#{fetch(:application)}_#{fetch(:stage)}" + server '52.77.219.228', user: 'deploy', roles: %w{web app db}, primary: true set :deploy_to, "/home/#{fetch(:deploy_user)}/apps/#{fetch(:full_app_name)}"