Files
Aegis/scripts
kitos cea518b33c
Aegis CI / lint-and-test (push) Has been cancelled
fix(install): reset postgres volume on reconfigure to avoid auth failures
When the wizard reconfigures and generates a new DB_PASSWORD, the existing
Postgres volume retains the old password (Docker only initializes credentials
on a fresh empty volume). The backend then fails to connect because .env
has the new password but Postgres still uses the old one.

Fix: run 'docker compose down -v' before 'up --build' whenever the wizard
reconfigures (SKIP_CONFIG=false), so Postgres always initializes with the
current .env credentials. Also add a pre-confirmation warning when existing
volumes are detected.
2026-06-11 12:03:33 +02:00
..