ValleV
ZITADEL5mo 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"


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.
Was this page helpful?