'right way to deploy a django-rq worker
maybe it's a silly question, but I didn't found much while googling around.
So I'm on the way to transform my development environment to a deploy environment. I connected django and nginx using uwsgi, put both in docker containers... so far no problem.
But I'm using django-rq, so I need a Worker process. In all these nice examples about deploying django I didn't found much about deploying django-rq. All I found was "create a docker container and use the manage.py " like this:
CMD python manage.py rqworker [queue1] [queue2]
Really? Should I just start the worker like this? I think manage.py is just for testing!?
Solution 1:[1]
You can create a systemd service in Ubuntu then enable and start the service.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Anishkumar |
