Hello, How can i run the celery in deployment forever? And what are the best cloud platforms to handle this? Thank you!
$ celery -A project worker
See the celery docs on daemonizing for some options and samples. Your choices from among these will depend upon the platform on which you plan to deploy.
Additionally, you can build a docker container for it, in which case you would be running it directly. (You don’t want your start command to exit.)
Also remember that you’ll need to deploy your queue (e.g. RabbitMQ)