Commit graph

2 commits

Author SHA1 Message Date
JobsBoard Deployer
bb4c93b11c fix(db): derive DATABASE_URL from POSTGRES_PASSWORD and harden credential sync
Stop web/scraper containers from using a stray literal DATABASE_URL in the
root .env (which desynced the postgres role password and caused persistent
'password authentication failed' errors). DATABASE_URL is now always computed
from POSTGRES_USER/POSTGRES_PASSWORD.

Also harden postgres-entrypoint.sh: log to stderr, retry on failure, and run
ALTER ROLE unconditionally so the stored password always matches the env.
2026-09-07 13:06:42 -04:00
JobsBoard Deployer
c7259411ae fix(db): add postgres auto-sync entrypoint wrapper to ensure role login and credentials persist across rebuilds 2026-09-06 13:54:36 -04:00