ZITADELZZITADEL
Powered by
ValleV
ZITADEL•7mo ago•
11 replies
Valle

docker postgres: password authentication failed for user "postgres"

Hi, I am setting up a fresh Zitadel instance using the docker-compose guide:
https://zitadel.com/docs/self-hosting/deploy/compose#docker-compose

docker compose up works, however the database container shows the following error repeatedly:

db-1       | 2025-09-04 11:56:10.120 UTC [210] FATAL:  password authentication failed for user "postgres"
db-1       | 2025-09-04 11:56:10.120 UTC [210] DETAIL:  Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
db-1       | 2025-09-04 11:56:10.120 UTC [210] FATAL:  password authentication failed for user "postgres"
db-1       | 2025-09-04 11:56:10.120 UTC [210] DETAIL:  Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"


It did actually work a few hours ago and doesn't anymore. I could login to zitadel.
Right now, I have reset everything and deleted the docker volumes and containers, so there shouldn't be any changes from myself.
ZITADEL banner
ZITADELJoin
ZITADEL - Identity infrastructure, simplified for you.
4,374Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

postgres password problem
wimWwim / questions-help-bugs
6mo ago
Authentication issues after password check
SebastianBSSebastianB / questions-help-bugs
13mo ago
Get user authentication Factors
JayPeJJayPe / questions-help-bugs
2y ago