1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/myapp/config/deploy.rb
2012-02-26 20:36:30 -08:00

15 lines
380 B
Ruby

require 'bundler/capistrano'
require 'sidekiq/capistrano'
set :scm, :git
set :repository, 'git@github.com:mperham/sidekiq'
ssh_options[:forward_agent] = true
default_run_options[:pty] = true # needed to run sudo
set :user, 'mperham'
set :application, "myapp"
set :deploy_via, :remote_cache
role :web, "localhost"
role :app, "localhost"
role :db, "localhost", :primary => true