i am using docker compose file and to store some data i am using postgresql
i am using flask post api with docker compose file and postgres database also...but just when i am using flask post api and docker compose its working fyn but when i use postgres i am getting this error
and please help anyone
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
api_1 | psycopg2.OperationalError: could not connect to server: Connection refused
api_1 | Is the server running on host "127.0.0.1" and accepting
api_1 | TCP/IP connections on port 5432?
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
This issue was closed by stalebot. It has been reopened to give more time for community review. See biocommons coding guidelines for stale issue and pull request policies. This resurrection is expected to be a one-time event.