mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
16 lines
380 B
Ruby
16 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
|