Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying to add celery + redis to my django app that is hosted on DO App Platform. I understand there is an issue I need to work around that is documented here: https://www.digitalocean.com/community/questions/is-there-an-issue-with-celery-on-app-platform
My problem is that I cannot even get to that point. Django celery and celery beat is working fine locally i.e. I can schedule and run background tasks. I start the celery worker using:
celery -A my_project.celery worker -l info
And the celery beat worker using:
celery -A my_project beat -l info
I cannot figure out how to do this on DO App platform.
A couple of tutorials simply say you need to create a worker in DO. What exactly does this mean? Don’t I just need to run these commands somehow? Do I need another virtual environment or will the worker use the same one from my django app (like it does when run locally). When I try to create a worker on DO it wants me to create another app.
Could anybody point me to an example of how all of this is supposed to work?
Would you be able to give some more information on how to create the celery worker please? Where exactly do I run the command to start the worker?
Would you have an example of the code you used to create the worker?
c16a0681e4174db280c83e4625c16d
phosphide
be910cccb6cf4b3ebf23fdcffa5505
7785fb23466745bea08552220fe464
Rashmi Joshi
Zappcode Academy
Mads Jürgensen
bee575eae7d04977a721d68f4f4877
endtoendpaper
David Macias
4029567daede4037840eb514185d21