Skip to content

Instantly share code, notes, and snippets.

@chroju
Last active July 5, 2016 13:27
Show Gist options
  • Select an option

  • Save chroju/10530945 to your computer and use it in GitHub Desktop.

Select an option

Save chroju/10530945 to your computer and use it in GitHub Desktop.
capistrano - config/deploy/staging.rb
set :stage, :staging
set :rails_env, 'staging'
server '127.0.0.1', port: 2222, user: 'vagrant', roles: %w{web app db}, ssh_options: {
keys: %w(~/.vagrant.d/insecure_private_key),
forward_agent: true,
auth_methods: %w(publickey)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment