Revert "fix(deploy): move POSTGRES_PASSWORD default into .env.example"
CI / lint (push) Successful in 2s
CI / unit (push) Successful in 7s
CI / integration (push) Successful in 2m14s
CI / publish (push) Successful in 5s

This reverts commit 42d9a7ba07.
This commit is contained in:
2026-06-05 11:25:31 -04:00
parent 42d9a7ba07
commit ef6c90c022
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -9,4 +9,4 @@ STEWARD_SMTP__PASSWORD=
# Password for the bundled Postgres; the steward service builds its
# STEWARD_DATABASE_URL from it. Leave STEWARD_SECRET_KEY above unset to let the
# app generate + persist one on the /data volume.
POSTGRES_PASSWORD=steward
POSTGRES_PASSWORD=change-me
+2 -2
View File
@@ -22,7 +22,7 @@ services:
# source bind-mounts: core + first-party plugins live inside the image.
- app_data:/data
environment:
- STEWARD_DATABASE_URL=postgresql+asyncpg://steward:${POSTGRES_PASSWORD}@db/steward
- STEWARD_DATABASE_URL=postgresql+asyncpg://steward:${POSTGRES_PASSWORD:-steward}@db/steward
# Optional: if unset, the app generates a key and persists it to
# /data/secret.key, so sessions survive restarts via the app_data volume.
# Set STEWARD_SECRET_KEY in .env to pin it explicitly across volume resets.
@@ -36,7 +36,7 @@ services:
image: postgres:16-alpine
environment:
POSTGRES_USER: steward
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-steward}
POSTGRES_DB: steward
volumes:
- pgdata:/var/lib/postgresql/data