Docker - Django, Celery & Redis Docker Compose setup

preview_player
Показать описание
In this tutorial I walk you through the process of setting up a Docker Compose file to create a Django, Redis, Celery and PostgreSQL environment. Starting from a new Django project the outcome of this tutorial you will have a development setup which will allow you to work with the named tools without having to installing them in your OS environment.

00:00 Introduction
01:17 Get started
02:30 DockerFile config
05:30 Docker Compose file config
12:30 Build a quick celery app
15:21 Build docker image
15:50 Fix a problem with the celery version
17:06 Run again and test a simple celery task

Code Repository:

👍SUBSCRIBE to get more free tutorials, courses and code snippets!

👍👍Follow us on Facebook

👍👍👍Follow use on Twitter:

Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. This video is intended to be a independent and non affiliated tutorial helping you to better understand the Docker software. We are not accredited, certified, affiliated or endorsing Docker, Inc.
Рекомендации по теме
Комментарии
Автор

It works still. One typo error was a pain in my neck :D. Thank you for the video.

seungcheolshin
Автор

Great vid! would love more such containerization vids from you!!

ruksharalam
Автор

Big thanks to you. This video and the guidelines is the only thing, that worked for me.

IsItTimeToTravel
Автор

Great video! Thank you for sharing your knowledge.

roberttorres
Автор

was waiting for this... Thanks dude, you make quality videos

sanyammittal
Автор

Thank you very much, it's for 3 years ago but resolved my problem!!

wlktfzh
Автор

I really love your videos. Really helps me out with work 😂

ladywebber
Автор

Thank you sir this video helped me a lot

jayantkeer
Автор

Your channel is saving my life man, thanks a lot =D

lucastavares
Автор

Thanks a lot, man ^^
Keep going <3

mahrezbenhamad
Автор

I love you content 🙏 thank’s alot man can you make video show us how to deploy this same project on railway or heroku and thank again big love

ahmedhashim
Автор

Thanks bro 😊👍 Catch my royal like 👍✌️💯⚡✊

nouchance
Автор

celery worker command is not a production variant. What about systemd instead ?

ixibqhc
Автор

I am not seeing the task results in django admin . Could you please tell me how to do that?

yogendramaarisetty
Автор

I have a question, i just followed your tutorial but tried to use a Django/Celery-beat proj in my computer trying to establish a connection Client-server, aparently it loads every tasks i schedule and even celery worker and beat, but when trying to access the server side by having a token, it don't connect, it gives me a ERROR/Forkpoolworker -1, and says Failed to establish a new connection.
Anyway the question is, for creating a Container to access the server side running in localhost, may it not running because of different hosts?

Nice tutorial by the way!

LeandroAuzier
Автор

hi can you make a tutorial on elastic search sir ?

EssentialsUnboxed
Автор

Hey man,
These videos are the best!
Do you think you will cover testing with Celery in the future?

TheWytzepakito
Автор

Exactly what I was looking for the last 3 days. Thank you very much, brother. 👍✌️.
Just one question I have. let's say I want to launch multiple celery worker instances but only 1 Django instance. Then what to do? Is there any way/command I have to use at the time of docker-compose so that it creates multiple instances of any mentioned services OR I have to write another piece of service in docker-compose with a different name? (I am Completely new to docker)

pranbirsarkar
Автор

What we need to change in docker compose yaml if we want to use celery beat schedular also, because we can only use one command in the celery and we are using that for our worker. Where we put command to start beat (celery -A beat

RahulChauhanart
Автор

I am getting "- redis Pulling - 2408cc74d12b Already exists " after the command: "docker-compose run django" what's the problem?

alexandergarzo