In a project I’m working on we have multiple application components which use sidekiq. I wanted to run just one docker container with sidekiq, and I was certain I could find information about how to run it in docker using a quick google search, but nope!
I’ve created a public repository for this, which you can use
by forking the repo and adding the gems you want to use to the
Gemfile. This assumes that the workers are
distributed as Ruby gems, which is how we let different components deliver workers to be run by the sidekiq instance.