right way to deploy a django-rq worker

Viewed 203

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!?

1 Answers
Related