Server is unable to connect to db
Hey guys! I am trying to just get this running up on the default settings, minus password and secret key, and it keeps telling me in the consoles for both the DB and the server that postgres is not a valid user. I'm at a loss. (It doesn't help that I'm fairly new at this...)
My server logs are:
My DB logs are:
My server logs are:
Running database setup and migrations...
psql: error: connection to server at "db" (172.22.0.3), port 5432 failed: FATAL: password authentication failed for user "postgres"
Running database setup and migrations...
psql: error: connection to server at "db" (172.22.0.3), port 5432 failed: FATAL: password authentication failed for user "postgres"My DB logs are:
2025-05-12 18:13:20.006 UTC [310] DETAIL: Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
2025-05-12 18:14:20.431 UTC [408] FATAL: password authentication failed for user "postgres"
2025-05-12 18:14:20.431 UTC [408] DETAIL: Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
2025-05-12 18:15:20.839 UTC [498] FATAL: password authentication failed for user "postgres"
2025-05-12 18:15:20.839 UTC [498] DETAIL: Connection matched file "/var/lib/postgresql/data/pg_hba.conf" line 128: "host all all all scram-sha-256"
2025-05-12 18:15:27.351 UTC [28] LOG: checkpoint starting: time
2025-05-12 18:15:27.367 UTC [28] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.004 s, sync=0.002 s, total=0.017 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB; lsn=0/1B6E4D0, redo lsn=0/1B6E498