docs: name the per-database role and describe the owner-owned queue schema

This commit is contained in:
Marc-André Bombeck committed 2026-11-03 23:31:38 +01:00
1 parent a10bebdc43
commit a80fcf5276
9 files changed
+143 -72

No files matched your search

+3 -2
View File
@@ -81,8 +81,9 @@ x-healthlog-env: &healthlog_env
# 1 sends neither of the two settings above (they ride the libpq `options`
# startup parameter, which PgBouncer refuses by default).
DATABASE_SESSION_OPTIONS_DISABLED: "${DATABASE_SESSION_OPTIONS_DISABLED:-}"
# The app connects as `healthlog_app`, a role the entrypoint creates that
# reads and writes rows but cannot change the schema; the migrations keep
# The app connects as `healthlog_app_<database>_<hash>`, a role the
# entrypoint creates for this database that reads and writes rows but
# cannot change the schema; the migrations and the queue's install keep
# the owner above. off keeps the app on the owner (for an operator who
# manages database roles). See docs/self-hosting/database-role.md.
DB_APP_ROLE: "${DB_APP_ROLE:-}"