Minimal example/template of how to start rq workers in docker containers using supervisor.
For a more detailed explanation, visit my blog at randydeng.com
What is RQ?
RQ is a Python library for queuing jobs and processing them in the background with workers.
See https://python-rq.org/ for full details.
What is supervisor?
Supervisor is a client/server system that allows control of a number of processes on UNIX-like operating systems.
See http://supervisord.org/introduction.html for full details.
Running the containers
Simply run the following:
You can verify everything is working by visiting
You should see something similar to the following: