Docker Compose | Django | PostgreSQL | Redis & Celery Baseline Configuration

preview_player
Показать описание
In this Docker compose tutorial we setup Django with Postgres, Redis and Celery. We conclude the tutorial by building a new image, testing the setup by creating a simple Celery task.

00:00 Introduction
01:28 Start coding
06:23 Docker-compose Celery
09:55 Build image and start containers
14:19 Build new app and configure a basic Celery task

Code Repository:

🐱‍🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.

👍SUBSCRIBE to get more free tutorials, courses and code snippets!
Рекомендации по теме
Комментарии
Автор

this is one of the greatest tutorials ever made

berkefekeskin
Автор

Very underrated Django YouTube Channel wish you grow more. Keep up the good work. Thank for your the initiative.

absharif
Автор

thank you for the docker insight! I wish there was some more content on mySQL but I am pretty sure I can find the dependencies. Your docker series have been inspiring and you are absolutely an awesome teacher for providing us this information and making it super clear to understand

daliusbeckjr.
Автор

perfect timing! :) i was just looking for an amazing tutorial on docker with django!

SoloPython
Автор

Hi Zander, Many thanks for the tutorial. I would be happy to if you could make a session about deploying all these docker containers in any cloud platforms in future

johndarren
Автор

Xander, you're a phenomenal instructor and I credit you for much of my 'self-thought' accomplishments as a fledgling Django developer. I'd like to expound on what you said towards the last end of this video where you said this may not be the final form of the Docker instructions. That's totally understandable, as development, as the name indicates is a process of progressively stacking complex logic. However, one thing I found consistently misleading from 'beginner' tutorials is the oversimplifications. I know you do your best to point people to read documentation to fully appreciate the extent of the capabilities you're teaching. Documentations are not often how people learn, thus the popularity of these videos on YT. One suggestion, if I may, is to either expose learners to the complexities of a more real-world example some time after the initial encounter, or make videos that go into those complexities feet-first for more advanced learners.

xxoooOFxx
Автор

Thank you so much! I love this series :) It is really useful for me

josecuevas
Автор

This series of tutorials is getting more and more interesting ...Thanks you so much
let me contribute something, in order not to generate a new image, add the same image of the app for celery, inside celery... add the same sentence that app, put it before the volume ... image: app:django, the container of celery will work with the same image. It would be interesting to generate the same task but searched the values of x and y in the database Postgre.

felixfigueroa
Автор

Thanks for your video series. They are very usefull

agbalenyoelvis
Автор

Hey Zander, thanks much! Do we add a .dockerignore and place data there, say for production?

gungorbudak
Автор

Hi Zander, Thanks for your amazing tutorial. Would appreciate it if you could please explain more info about why Celery and Redis are needed?

TrungNguyen-iwgb
Автор

Hi Zander,

This video is absolutely helpful. But I have ran into an issue like django server is not reloading in docker which means whatever changes i make on my localhost is not reflecting in docker container. Could you please make a video or give some ideas that might be helpful

kishorekumar
Автор

how does the command: "docker compose run --rm app ..." change if there is already a django-project?

naheliegend
Автор

Hello Zander. Very nice tutorial. Tahnk you.
I am looking forward to the 3rd episode of your Next | DRF | Build Ecommerce series. Inshaallah you are not giving up. Are you?

necipmuzaffer
Автор

Amazing !!. You should do a bigger Tutorial on this subject. And if you include CI/CD somehow or AWS - people will pay for such a course, because it doesn't exists.

liorbm
Автор

How do you deal with all this if your host OS is linux? I'm running into user\group issues every time I run docker compose and they've removed the --user\-u flag. I also can't do anything with new apps created this way.

addohm
Автор

Do you have a video implementing Nginx and Static Files in Docker ?

mediatwinkleTV
Автор

Hello.
Can you please post a video to
explain the process of hosting a django app, explain the differences in hosting packages, how can you maintain you web app while it is hosted,
and talk about AWS.

hassanelabdallah
Автор

i did not completely understand the mirroring concept, which video should i rewatch?

berkefekeskin
Автор

hi Zander, why are you not using MySql as DB? beause of that problem i only watch your tutorials, just watching :S

yukselbastan