keylimetoolbox / resque-kubernetes

Run Resque (and ActiveJob) workers as Kubernetes Jobs and autoscale from 0!
MIT License
54 stars 15 forks source link

How to start workers in Docker passenger container? #29

Closed bhushangahire closed 1 year ago

bhushangahire commented 3 years ago

I am trying to find a way to start the worker queue when the container runs but am not able to find a way to do it. Any pointers?

jeremywadsack commented 1 year ago

Hi @bhushangahire Sorry for the very late response — I'm not sure I understand your question.

You can set up a Dockerfile with that runs bin/rails environment resque:work to start the worker as described in the README.