Тёмный

Django & Postgres with Docker Best Practices 

Beyond Database
Подписаться 774
Просмотров 17 тыс.
50% 1

In this video we are configuring django & postgres with docker in both development and production environment. I also give you some best practices in docker.
Here is the github repo of this project: github.com/alicmp/djnago-post...
Here You can read more about some of the topics which i talked about in the video:
docs.docker.com/engine/instal...
docs.docker.com/compose/install/
testdriven.io/blog/dockerizin...
pythonspeed.com/docker/
nickjanetakis.com/blog/why-i-...

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

 

13 июл 2021

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@chandruscm
@chandruscm 2 года назад
I was doing docker wrong! :D Thanks a lot for showing best practices!
@yasabhishek
@yasabhishek 2 года назад
Thanks for the video, you cleared a lot of my confusion.
@janekalam
@janekalam 2 года назад
Good job!
@nnamdiekweariri
@nnamdiekweariri Год назад
Thanks so much for your explanations. However, I would like to see you make video on how to connect the containerised django app with a locally running instance of postgres database.
@alessandroscimone5463
@alessandroscimone5463 2 года назад
Fantastic! Very helpful. What I don't understand and how to distribute it, for example, on Linode, DigitalOcean or similar?
@ballinlikebill8334
@ballinlikebill8334 2 года назад
With your setup i could configure nginx on the host machine so that i could even have multiple apps running on dockercontainers right?
@nielsSavantKing
@nielsSavantKing 11 месяцев назад
@Beyond Datbase. I don't understand that you still put the database in a docker container in the production compose file. Because you say it by yourself that it is not wise to put a database in a docker container in production. So we can omit the database container in production?
@saharhatami5970
@saharhatami5970 3 года назад
thanks it was helpful video. where can i find tutorial's code?
@BeyondDatabase
@BeyondDatabase 3 года назад
You can find it here: github.com/alicmp/djnago-postgres-docker-starter
@pil_low
@pil_low 3 года назад
@@BeyondDatabase please make a video on full deployment setup with Zappa and Docker.. Thanks in advance.
@amirh.zeidabadi846
@amirh.zeidabadi846 Год назад
ro englisit car kon aberomono bordi. in jomle ke gofti "we don't use docker in production" az koja ovordi???🤭
@Anu_was_here
@Anu_was_here 2 года назад
After following the whole tutorial :( you said Docker is not recommended..
@ernestezis9526
@ernestezis9526 2 года назад
That's not what he said. He said that Docker added a layer of complexity and in production it might be better to use RDS for Postgresql. He seems to be implying that Django and Gunicorn should run in Docker but Nginx and Postgresql should not.
@onyilimba
@onyilimba 11 месяцев назад
@@ernestezis9526 He was actually talking about nginx, which I think is a bad advice from his part.
@postermelone6761
@postermelone6761 4 месяца назад
He usee gunicorn, how does static files get solved without nginx then, is he amatuer? Or am i?
@onyilimba
@onyilimba 11 месяцев назад
Why would you advice against creating nginx in production. The excuse you gave is a very poor one.
Далее
Lasagna Soup @Lionfield
00:35
Просмотров 10 млн
Dockerizing Django with Postgres, Redis and Celery
20:59
How to create a great dev environment with Docker
29:55
Expose Your Docker Containers With Traefik
19:33
Просмотров 11 тыс.
Docker and PostgreSQL in [10 Minutes]
21:06
Просмотров 265 тыс.
Lasagna Soup @Lionfield
00:35
Просмотров 10 млн