Skip to content
Discussion options

You must be logged in to vote

Hi @DesertCookie! I'm Dosu and I’m helping the lobe-chat team.

The issue is that your Casdoor and Lobe Chat containers are trying to connect to Postgres on port 5439, but inside Docker, Postgres is only listening on its default internal port 5432. The port mapping '5439:5432' only affects host-to-container access, not container-to-container communication. For services talking to each other inside Docker, always use the internal port (5432) in your connection strings and environment variables, not the mapped host port.

To fix this, update all references to the Postgres port in your Docker Compose and environment files (especially Casdoor's dataSourceName and Lobe Chat's DATABASE_URL) to u…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DesertCookie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant