Ansible schedule form: structured playbook-variable fields + first-item dropdown defaults #2
+1
-1
@@ -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=change-me
|
||||
POSTGRES_PASSWORD=steward
|
||||
|
||||
+2
-2
@@ -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:-steward}@db/steward
|
||||
- STEWARD_DATABASE_URL=postgresql+asyncpg://steward:${POSTGRES_PASSWORD}@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:-steward}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
|
||||
POSTGRES_DB: steward
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
Reference in New Issue
Block a user