FastAPI container fails to connect to PostgreSQL.
However, the PostgreSQL container is running well and accessible.
I don't know why this problem is happening.
Here is gist link of Dockerfile, docker-compose.yaml and log when docker-compose is run.
https://gist.github.com/...
The python container should connect on
postgres:5432not localhost. To the web container, localhost is itself, not the physical host running dockersave