ComboStrikeHQ / docker-rails

An opinionated docker image for running Rails apps in production.
MIT License
89 stars 17 forks source link

Sidekiq is not running #13

Open rakirox opened 7 years ago

rakirox commented 7 years ago

Hi, I'm using this image for my project but sidekiq seems not being running.

I'm deploying the project at Beanstalk and it runs fine, also, it is queueing all messages to redis but they are not being consumed

Instance: 64bit Amazon Linux 2016.09 v2.5.1 running Docker 1.12.6

DockerImage: FROM ad2games/docker-rails:2.5.0 EXPOSE 8080

rakirox commented 7 years ago

as an extra information (which may or not be helpfull) the log of docker keeps sending the same message: it keeps printing the sidekiq and clockwork gem dir (not sure if it's as expected or not) it makes me think that its execution keeps failing for some reason and runit tries to run it again.

Running /etc/my_init.d/90_db_migrate.sh... Could not find gem 'rails_migrate_mutex'. Running /etc/rc.local... Booting runit daemon... Runit started as PID 14 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/clockwork-1.2.0 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/clockwork-1.2.0 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/sidekiq-4.1.1 /home/app/webapp/vendor/bundle/ruby/2.3.0/gems/clockwork-1.2.0

rakirox commented 7 years ago

Guess it's related to https://github.com/ad2games/docker-rails/issues/7 ~~