add mina sidekiq
This commit is contained in:
parent
400d801519
commit
62d1f394a3
3
Gemfile
3
Gemfile
|
@ -38,7 +38,8 @@ gem 'newrelic_rpm'
|
|||
|
||||
gem 'mina', require: false
|
||||
gem 'mina-multistage', require: false
|
||||
gem 'mina-unicorn', :require => false
|
||||
gem 'mina-sidekiq', require: false
|
||||
gem 'mina-unicorn', require: false
|
||||
|
||||
group :development do
|
||||
gem 'spring'
|
||||
|
|
|
@ -130,6 +130,8 @@ GEM
|
|||
rake
|
||||
mina-multistage (0.1.1)
|
||||
mina (>= 0.2.1)
|
||||
mina-sidekiq (0.3.1)
|
||||
mina
|
||||
mina-unicorn (0.0.4)
|
||||
mini_magick (4.1.0)
|
||||
mini_portile (0.6.2)
|
||||
|
@ -320,6 +322,7 @@ DEPENDENCIES
|
|||
jquery-rails
|
||||
mina
|
||||
mina-multistage
|
||||
mina-sidekiq
|
||||
mina-unicorn
|
||||
mini_magick
|
||||
mongoid
|
||||
|
|
|
@ -7,6 +7,7 @@ require 'mina/rails'
|
|||
require 'mina/git'
|
||||
require 'mina/rvm' # for rvm support. (http://rvm.io)
|
||||
require 'mina/unicorn'
|
||||
require 'mina_sidekiq/tasks'
|
||||
|
||||
# Manually create these paths in shared/ (eg: shared/config/database.yml) in your server.
|
||||
# They will be linked in the 'deploy:link_shared_paths' step.
|
||||
|
@ -47,6 +48,7 @@ task :deploy => :environment do
|
|||
|
||||
to :launch do
|
||||
invoke :'unicorn:restart'
|
||||
invoke :'sidekiq:restart'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -1,10 +1,4 @@
|
|||
---
|
||||
:concurrency: 2
|
||||
:pidfile: tmp/pids/sidekiq.pid
|
||||
:logfile: log/sidekiq.log
|
||||
staging:
|
||||
:concurrency: 2
|
||||
production:
|
||||
:concurrency: 2
|
||||
:queues:
|
||||
- [default, 2]
|
||||
|
|
Loading…
Reference in New Issue