this post was submitted on 27 Jul 2023
4 points (100.0% liked)
Docker
457 readers
9 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I changed host to
postgres:5432
, but python made an error.Sorry, I misread your compose file. It should be the name of the PG container, so
db:5432
Thanks!
I also added
to docker-compose.yaml and fixed the issue!