Setting up PostgreSQL database with a Django Docker application

preview_player
Показать описание


OTHER COURSES

VIDEOS YOU MIGHT LIKE:
Рекомендации по теме
Комментарии
Автор

Super useful. That just worked with my old project. Thank you, Mark!

saitaro
Автор

You are my superhero. Saved a lot of my time

tsoonamik
Автор

I just wanted to start learning Docker ... thanks, for this great intro!

ma-tei
Автор

Question wouldn’t all your previous data be lost as in the data you saved before you plugged in to the new database

Zzzzzzzzzzzzzzzzzzzzr
Автор

How can you access to postgresql outside the container now? jus like a normal django app because now the host is 'db' .

magodelviento
Автор

Awesome, discovered just in time to migrate my db from sqlite to postgresql. Still stuck where docker spit out no such file or directory to run migrate command.

rhonaldjr
Автор

how can you access that database? when I add network_mode: bridge it fails building

thedemonlord
Автор

docker-compose up fails with'Error: Service 'web' failed to build unexpected EOF' any help would be appreciated. great vid.

jeremiahj
Автор

@London App Developer. So but it is better to omit de db container in production? Because I have read that it is not good to put a database in a docker container

nielsSavantKing
Автор

Hi, I am in need of a tutorial for deploying a Django Docker app to Azure which will point to Azures PostgreSQL resource. Do you have that course?

isaachatilima
Автор

can you please do it with the mysql as well

jeetpatel
Автор

Hey London! Thanks a lot for upload this video! I have a issue... I does all of this video but when I run python manage.py migrate, this still save all information in db.sqlite3 and not in my PostgreSQL container... Someone has the same issue than can help me??

carlosmardones
Автор

Everything looks so smooth, but if it comes to publish my own project I get one error after another. I just go one by one but this one drives my crazy:

could not translate host name "dummy_endpoit" to address: Name does not resolve

zbigniewsztobryn
Автор

Great but i was also expecting the pg_admin setup and also change user for postgres and password

usamakaleem
Автор

it totally work, amazing, thanks a lot, I will buy your udemy courses for sure.

JoseAlvarez-dlhm
Автор

Perfect, I have this problem. How to deploy this site not to localhost but hosting on a service like Google cloud Run.
I am trying to deploy a site like this on a platform like digital Ocean or GCP but doesn't work.
And more important, if I deploy this website where is the permanent storage?
If I deploy my site on localhost the real database is on :
volumes:
-


./data/db

but when it's deployed on a extern platform, where are effectly stored the data ?
Thanks a lot if you can tell me the answer
All the best regards

enricosaccheggiani
Автор

Cool Video.. I was looking for this one. I wish you could have included where to find the data in postgres container.

rajashreesekar
Автор

Great video! I would love your advice. I have a django app which has a
mysql db which I need to change over to postgres. Can I simply make the
changes in the docker-compose.yml file or do I need to search for any
mysql reference thoughout the whole app and change it to psql? Thank you
for your help, I can't find much info about it online.

elenaperez
Автор

Hi, I have this eror when type: sudo docker-compose up
Building web

Step 1/7 : FROM python:3

Please help me on this.

sushichanel
Автор

Everything went well as per the tutorial . only when I run migrate I hit in to a trouble with psycopg2. Any ideas or suggestion? django core exception .Improperly configured: Error loading psycopg2 module :No module named 'psycopg2'

ashlingabrielrajan