Guest User

Untitled

a guest
Jul 18th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. set :application, "servicr"
  2. set :deploy_to, "/home/demo/public_html/#{application}"
  3.  
  4. set :scm, :git
  5. set :repository, "git@github.com:etc"
  6. set :branch, "master"
  7. set :deploy_via, :remote_cache
  8. set :keep_releases, "5"
  9.  
  10. set :port, 30000
  11. set :user, "demo"
  12. set :use_sudo, false
  13.  
  14. default_run_options[:pty] = true
  15.  
  16. set :ssh_options, {:forward_agent => true}
  17. on :start do
  18. `ssh-add`
  19. end
  20.  
  21. role :web, "67.23.42.121" # Your HTTP ser$
  22. role :app, "67.23.42.121" # This may be t$
  23. role :db, "67.23.42.121", :primary => true # This is where$
Add Comment
Please, Sign In to add comment