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.
Hi. Thanks for the great video. Can you suggest where to look for effective tutorial on how to setup Django to run on Could SQL? Or make a video yourself about this?
@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?
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.
I was doing docker wrong! :D Thanks a lot for showing best practices!
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.
Hi. Thanks for the great video. Can you suggest where to look for effective tutorial on how to setup Django to run on Could SQL? Or make a video yourself about this?
Thanks for the video, you cleared a lot of my confusion.
Fantastic! Very helpful. What I don't understand and how to distribute it, for example, on Linode, DigitalOcean or similar?
With your setup i could configure nginx on the host machine so that i could even have multiple apps running on dockercontainers right?
@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?
Good job!
thanks it was helpful video. where can i find tutorial's code?
You can find it here: github.com/alicmp/djnago-postgres-docker-starter
@@BeyondDatabase please make a video on full deployment setup with Zappa and Docker.. Thanks in advance.
ro englisit car kon aberomono bordi. in jomle ke gofti "we don't use docker in production" az koja ovordi???🤭
After following the whole tutorial :( you said Docker is not recommended..
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.
@@ernestezis9526 He was actually talking about nginx, which I think is a bad advice from his part.
He usee gunicorn, how does static files get solved without nginx then, is he amatuer? Or am i?
Why would you advice against creating nginx in production. The excuse you gave is a very poor one.