Menu

📰
0

How do people handle deploying containerized celery with django?

Reddit r/django·u/79215185-1feb-44c6·about 1 month ago
#6KZmpy8h
Reading 0:00
15s threshold

How do people handle deploying containerized celery with django? I've been maintaining a DRF application for the past 4 years, and I'm currently rearchitecting my stack to be cloud native. Currently, everything is deployed with docker compose on the same VM (Postgres + Redis + Nginx + Gunicorn + Celery, but I'd like to transition away from deploying a virtual appliance (VM) to production for cloud customers. Currently I have a model where Postgres, Redis and Nginx can be offloaded to LXCs (idk translate that to your favorite platform for each), and I'm using S3 (minio) for a file storage backend through django-storages. Now I'm trying to figure out how I separate out django, celery, and celery beat in the sanest way possible. Is the real solution just to create a single container and have it deployed 3 times with different environmental variables? If so, that's not too different from what I do with compose right now.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More