Deploying Django application that is using Celery and Redis might be challenging. Thanks to docker-compose
tool we can prepare docker containers locally and make deployment much easier. I would like to show you my approach for constructing docker-compose
configuration that can be reused in other web applications. I will be using Django version 4.1.3
and Celery 5.2.7
. The nginx server will be used as reverse proxy for Django and to serve static files. Postgres database and Redis will be in the docker-compose
.
React and Django Free Boilerplate
Learn how to write SaaS application with React and Django from scratch
Contact us for any questions by filling a form.
Topic: Postgres
-
Docker compose with Django 4, Celery, Redis and Postgres
Celery Django Redis Postgres Nginx Docker Aleksandra Płońska, Piotr Płoński, November 17, 2022