From 6fad36939247a887e58e6dad5404371913f4231c Mon Sep 17 00:00:00 2001 From: Syphax Date: Sun, 8 Sep 2024 19:54:18 +0200 Subject: [PATCH] add ssh proxy for production deployment --- config/deploy/production.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/deploy/production.rb b/config/deploy/production.rb index 40c7047..4c8107a 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') }