feat(discourse): switch app to official discourse/discourse image (experimental) #5

Open
autonomic-bot wants to merge 5 commits from discourse-official-image into main
6 changed files with 80 additions and 95 deletions
Showing only changes of commit a081d1dba0 - Show all commits

View File

@ -4,9 +4,7 @@
set -e
# discourse/postgres keeps the live cluster at a versioned PGDATA under the
# /var/lib/postgresql mount. Write the dump at the volume root so backupbot's
# `postgresql_data.path: backup.sql` label captures it.
# constants
BACKUP_FILE='/var/lib/postgresql/backup.sql'
DATADIR="${PGDATA:-/var/lib/postgresql/18/docker}"
DB_NAME="${POSTGRES_DB:-discourse}"