Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set :deploy_to, "/var/www/#{application}"
- ssh_options[:forward_agent] = true
- #############################################################
- # Settings
- #############################################################
- #default_run_options[:pty] = true
- set :use_sudo, true
- set :db_pass, 'secretpass'
- #############################################################
- # Servers
- #############################################################
- set :scm_user, 'user'
- set :scm_passwod, 'pass'
- set :user, "secretuser"
- set :password, "secretpass"
- set :domain, "secret.ip.address"
- role :web, "secret.ip.address.too"
- role :app, "secret.ip.address.too"
- role :db, "secret.ip.address.too" , :primary => true
- deploy.task :restart, :roles => :app do
- run "touch #{current_path}/tmp/restart.txt"
- end
Add Comment
Please, Sign In to add comment