forked from ontoportal/ncbo_cron
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add ssh proxy for production deployment
- Loading branch information
1 parent
71bf5fc
commit 6fad369
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
set :branch, 'master' | ||
set :server, 'biodivportal.gfbio.org' | ||
set :server, '192.168.0.22' | ||
|
||
server fetch(:server), user: fetch(:user), roles: %w{web app} | ||
|
||
set :ssh_options, { | ||
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 [email protected] -W %h:%p') | ||
proxy: Net::SSH::Proxy::Command.new('ssh [email protected] -W %h:%p') | ||
} |