Single notplants commit (1f77af9) on top of the official-image commit (0c4539b), matching the intended shape of coop-cloud/discourse#16. Switches the db to discourse/postgres:pg18 with auto-upgrade. Running !testme below.
Single notplants commit (1f77af9) on top of the official-image commit (0c4539b), matching the intended shape of coop-cloud/discourse#16. Switches the db to discourse/postgres:pg18 with auto-upgrade. Running !testme below.
Replaces the paywalled bitnamilegacy app with the official discourse/discourse
image behind Traefik. DB is reused as-is; uploads migrate from the legacy
bitnami volume idempotently. The wrapper entrypoint injects the db_password and
smtp_password secrets (the official image has no *_FILE support). SMTP env vars
are renamed to the official names; release notes cover the migration.
Recipe 0.8.1+3.5.0 -> 1.0.0+3.5.3 (major: new image, env/volume/port changes).
Move the db off the bitnami-era pgvector:pg17 + hand-rolled pg_upgrade entrypoint
to discourse/postgres:pg18 (pgvector + discourse's auto-upgrade layer). The image
runs the in-place major-version pg_upgrade itself on boot; the recipe configures it
via env:
- a small inline entrypoint injects the db password secret into $DB_PASSWORD (the
image expects it in the env, no *_FILE support)
- POSTGRES_USER (the install user pg_upgrade must match) defaults to 'postgres' --
correct for fresh installs and bitnami-origin clusters -- overridable from .env
- POSTGRES_INITDB_ARGS=--no-data-checksums so the new pg18 cluster matches pre-18
clusters (pg18 initdb enables checksums by default; pg_upgrade needs a match)
- mount postgresql_data at /var/lib/postgresql (versioned PGDATA .../18/docker)
- pg_backup.sh uses POSTGRES_USER for the dump/drop/recreate; fix paths
- document the POSTGRES_USER override in .env.sample, README and the release note
- drop entrypoint.postgres.sh.tmpl
Tested on cctest: pg17->pg18 upgrade preserves data and serves over HTTPS; fresh
install works; backup+restore round-trips.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Single notplants commit (
1f77af9) on top of the official-image commit (0c4539b), matching the intended shape of coop-cloud/discourse#16. Switches the db to discourse/postgres:pg18 with auto-upgrade. Running !testme below.!testme
🌻 cc-ci —
discourse@1f77af93❌ killed → https://drone.ci.commoninternet.net/recipe-maintainers/cc-ci/944(summary card unavailable — see the run for details.) full logs · dashboard
autonomic-bot referenced this pull request2026-06-22 21:06:39 +00:00
Auto-closed by cc-ci canonical sweep: its changes are already in upstream main (merged upstream); mirror main re-synced
Pull request closed