diff --git a/config/deploy.rb b/config/deploy.rb index b482a4ec..c5980830 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -7,7 +7,7 @@ set :stages, %w[appliance] set :default_stage, 'appliance' set :stage, 'appliance' -set :application, 'cron' +set :application, 'ontologies_api' # SSH parameters set :ssh_port, 22 @@ -19,7 +19,8 @@ set :ssh_options, { :forward_agent => true } # Linked files and directories -append :linked_files, "config/config.rb" +append :linked_files, "config/environments/appliance.rb" + append :linked_dirs, 'logs', '.bundle' set :keep_releases, 2 diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 40c7047f..4c8107a3 100644 --- a/config/deploy/production.rb +++ b/config/deploy/production.rb @@ -1,5 +1,5 @@ set :branch, 'master' -set :server, 'biodivportal.gfbio.org' +set :server, '192.168.0.22' server fetch(:server), user: fetch(:user), roles: %w{web app} @@ -7,7 +7,7 @@ user: 'ontoportal', forward_agent: 'true', #keys: %w(config/deploy_id_rsa), - #auth_methods: %w(publickey), + auth_methods: %w(publickey), # use ssh proxy if UI servers are on a private network - #proxy: Net::SSH::Proxy::Command.new('ssh deployer@sshproxy.ontoportal.org -W %h:%p') + proxy: Net::SSH::Proxy::Command.new('ssh guest@134.176.27.193 -W %h:%p') }