Тёмный

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

Very Academy
Подписаться 65 тыс.
Просмотров 20 тыс.
50% 1

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:
github.com/veryacademy/docker...
🐱‍🏍Would you like to SUPPORT US FURTHER so that we can make even more great content - Please consider joining our members community.
/ @veryacademy
👍SUBSCRIBE to get more free tutorials, courses and code snippets!
/ @veryacademy

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@berkefekeskin9172
@berkefekeskin9172 Месяц назад
this is one of the greatest tutorials ever made
@SoloPython
@SoloPython 3 года назад
perfect timing! :) i was just looking for an amazing tutorial on docker with django!
@veryacademy
@veryacademy 3 года назад
👍
@absharif8146
@absharif8146 2 года назад
Very underrated Django RU-vid Channel wish you grow more. Keep up the good work. Thank for your the initiative.
@johndarren2972
@johndarren2972 2 года назад
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
@daliusbeckjr.3918
@daliusbeckjr.3918 8 месяцев назад
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
@josecuevas5814
@josecuevas5814 3 года назад
Thank you so much! I love this series :) It is really useful for me
@veryacademy
@veryacademy 3 года назад
You're very welcome!
@xxoooOFxx
@xxoooOFxx 6 месяцев назад
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.
@veryacademy
@veryacademy 6 месяцев назад
Thank you for this. I appreciate you spending time to explain. What I take from this is something that many have been asking for going into more detail and depth and moving away from the basics. What this needs, like you said, is an example to build from. My reply in the past has been, sure, no problem; I am building courses and apps; we can use this to move deeper into advanced topics. I would like to say that I have got that far, but it simply isnt the case. I give myself too much to do, cover too much other content, then find myself circling back around, ending up reworking/remaking in a better format the basics again. I am at that point at the minute again. It is frustrating for me as it is no doubt for others.
@xxoooOFxx
@xxoooOFxx 6 месяцев назад
@veryacademy Thank you again! I started with this journey about 9 months ago with your vids here and Udemy, and what a ride it has been. I appreciate you taking the feedback in the spirit it's provided. I am looking forward to those advanced tutorials 😀
@TrungNguyen-iw8gb
@TrungNguyen-iw8gb 3 года назад
Hi Zander, Thanks for your amazing tutorial. Would appreciate it if you could please explain more info about why Celery and Redis are needed?
@veryacademy
@veryacademy 3 года назад
Noted
@felixfigueroa
@felixfigueroa 3 года назад
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.
@agbalenyoelvis
@agbalenyoelvis Год назад
Thanks for your video series. They are very usefull
@bumblebee2012able
@bumblebee2012able 3 года назад
best teacher ever, respect
@veryacademy
@veryacademy 3 года назад
👍
@gungorbudak
@gungorbudak 2 года назад
Hey Zander, thanks much! Do we add a .dockerignore and place data there, say for production?
@kishorekumar9340
@kishorekumar9340 2 года назад
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
@necipmuzaffer6871
@necipmuzaffer6871 3 года назад
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?
@veryacademy
@veryacademy 3 года назад
There is no giving up on e-commerce on all fronts. Just slow sorry.
@denysmadin5024
@denysmadin5024 2 года назад
Thanks for your!!!!!!!!
@mrmuranga
@mrmuranga 3 года назад
awesome 👍😎😎
@veryacademy
@veryacademy 3 года назад
Thanks 👍
@naheliegend5222
@naheliegend5222 3 года назад
how does the command: "docker compose run --rm app ..." change if there is already a django-project?
@ahmedvalentinkassem8894
@ahmedvalentinkassem8894 7 месяцев назад
legend
@hassanelabdallah5013
@hassanelabdallah5013 3 года назад
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.
@hassanelabdallah5013
@hassanelabdallah5013 3 года назад
Oh... It looks like you already talked about those topics before 👍🏼 i will watch them, Thank you
@liorbm1
@liorbm1 3 года назад
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.
@veryacademy
@veryacademy 3 года назад
Next up in Docker is Heroku deploy (just a 2021 update) then I will do a full deploy on Digital Ocean (Django/Postgres/Redis/Celery) using GitHub Actions. I will add AWS deploy of that after. I have started building a full Docker / Kubernetes course - again, its just a time thing, trying to keep tutorials up here, website, work, life - it will just all take time. 👍
@liorbm1
@liorbm1 3 года назад
@@veryacademy GitHub Actions is CI/CD thing (?). If so, It will be great. Your Channel is really great ! But One point to improve is in the playlist section. Lets say your HTML/Bootstrap4/MYSQL series(s) is not bundled together, so if someone find one video he has a hard time to find the rest..
@behjaf
@behjaf 3 года назад
thank you
@veryacademy
@veryacademy 3 года назад
You're welcome
@mediatwinkleTV
@mediatwinkleTV 3 года назад
Do you have a video implementing Nginx and Static Files in Docker ?
@veryacademy
@veryacademy 3 года назад
Not just yet, where are you thinking of serving static files?
@addohm
@addohm Год назад
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.
@yukselbastan4687
@yukselbastan4687 3 года назад
hi Zander, why are you not using MySql as DB? beause of that problem i only watch your tutorials, just watching :S
@veryacademy
@veryacademy 3 года назад
No particular reason, sorry not to give direct answers - I would always select what fits the project. Have a look at this if you have time, it’s a good article developer.okta.com/blog/2019/07/19/mysql-vs-postgres
@yukselbastan4687
@yukselbastan4687 3 года назад
@@veryacademy thanks for the advice, the problem by me is that my provider supports only MySQL. Thats the reason why i mostly cannot use your educations, for example your search tutorial.
@xq_nemesis
@xq_nemesis 3 года назад
❤️
@veryacademy
@veryacademy 3 года назад
👍
@berkefekeskin9172
@berkefekeskin9172 Месяц назад
i did not completely understand the mirroring concept, which video should i rewatch?
@berkefekeskin9172
@berkefekeskin9172 9 дней назад
i did just now
@bashafaris5908
@bashafaris5908 Год назад
the size of image for celery is same as django app🥲 ? why? is it ok?
Далее
Dockerizing Django with Postgres, Redis and Celery
20:59
Docker - Django, Celery & Redis Docker Compose setup
20:29
Using docker in unusual ways
12:58
Просмотров 418 тыс.
How to create a great dev environment with Docker
29:55