Backend container SQLAlchemy error with docker compose up -d
#1202
Unanswered
fanpeng-kong
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
I followed instructions on the master branch (commit) to modify the
.env
file and run the commanddocker compose up -d
. However, the backend contained run into a SQLAlchemy errorsqlalchemy.exc.OperationalError: (psycopg.OperationalError) [Errno -2] Name or service not known
.All the other containers run well and I can access them through the endpoints. I tried both the localhost and localhost with a custom domain url options and the problem persists.
Operating System
Linux
Operating System Details
Ubuntu 22.04
Python Version
3.11.9
Additional Context
Output from
docker compose logs backend
:Beta Was this translation helpful? Give feedback.
All reactions