Commit Graph
5 Commits
Author SHA1 Message Date
notplants a09477f40d feat(discourse): switch app to official discourse/discourse image (experimental)
Replaces the paywalled bitnamilegacy app with the official discourse/discourse
image behind Traefik (HTTP-only via an install-ssl override; sidekiq is internal
so its service is dropped). DB is reused as-is; uploads migrate from a legacy
bitnami volume via an idempotent, non-destructive runit hook. db keeps
pgvector/pgvector:pg17 with the install-user-aware pg_upgrade entrypoint, plus
db/redis healthchecks and updated README metadata.

The official image has no *_FILE support, so the wrapper entrypoint reads both
the db_password and smtp_password secrets and exports DISCOURSE_DB_PASSWORD /
DISCOURSE_SMTP_PASSWORD before booting. SMTP env vars are renamed to the
official names; release notes document the migration for operators.

Verified on cctest: fresh install, upgrade-from-bitnami-pg17, and
upgrade-from-bitnami-pg13 (incl. 13->17) all serve with data intact.
Upstream marks discourse/discourse experimental; hold prod cutover.

Recipe 0.8.1+3.5.0 -> 1.0.0+3.5.3 (major: new image, env/volume/port changes).
2026-06-18 21:58:13 +00:00
notplantsandnotplants a9f08eed28 fix(db): make pg_upgrade 13->17 idempotent and use the cluster's real install user 2026-06-16 18:29:24 +00:00
notplantsandnotplants b0f9ae743a fix(db): switch postgres image to pgvector/pgvector:pg17 + bump PG_BACKUP_VERSION
cc-ci/testme cc-ci: success
2026-06-02 20:07:06 +00:00
notplantsandnotplants ec7bbdf786 fix(backup): add pg_backup.sh + proper backup/restore hooks, 20m start_period 2026-06-02 19:10:27 +00:00
3wordchant 6a5f20bc8a Add postgres major version upgrade script 2023-08-21 15:56:57 +02:00