Django and Celery using Redis as backend in Docker

Introduction This post is to help with the following two tutorials (for setting up Celery with Django): https://levelup.gitconnected.com/django-celery-going-deeper-with-background-tasks-in-python-fa44958cf7cd https://testdriven.io/courses/django-celery/docker/ If you’re using or want to use Windows with Celery, it is better to run it in a container (or another way that you’re actually using Linux). Since Celery on Windows is not supported and they will not help you if you are going to still do this. Assumption You have Docker and docker compose up and running locally....

January 16, 2023 · 2 min · 291 words · Me