Search code examples
djangoceleryworkerbroker

Django project run broker and woker in remote host


I have a Django project, and it runs celery using Rabbitmq as a broker in a remote server. I wonder if I can run worker on the remote server too. I do not want to run broker and worker in one remote server, but run it on seperated remote server. I wonder if this is possible.


Solution

  • Yes. This is completely possible. Just make sure that both the celery worker and the django web server are pointed to the same broker.