From e91586b96861fc389d7cbc62fcc11d672b5e08c0 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 8 Nov 2026 15:32:46 -0500 Subject: [PATCH] Discourse: move from Bitnami chart to launcher-built image The Bitnami chart and images stop at 3.5.0. Run Discourse 2026.10.0 from an image built with the official launcher, on PostgreSQL 18, reusing the existing uploads volume, Redis and secrets. Update the Dex sign-in step for the new image paths, drop the removed LDAP setting, and keep chat off now that it is bundled in core. The image adds a real-IP rule so visitors are not all rate limited as the ingress. Co-Authored-By: Claude Opus 5.5 --- files/discourse-sso.rb | 5 +- files/discourse/discourse-web.yaml | 107 ++++++++++++++++++++++++ files/discourse/postgres18.yaml | 73 ++++++++++++++++ files/discourse/web_only.yml | 36 ++++++++ tasks/discourse.yaml | 128 +++++++++++------------------ 5 files changed, 266 insertions(+), 83 deletions(-) create mode 100644 files/discourse/discourse-web.yaml create mode 100644 files/discourse/postgres18.yaml create mode 100644 files/discourse/web_only.yml diff --git a/files/discourse-sso.rb b/files/discourse-sso.rb index 338a548..1f8f1ca 100644 --- a/files/discourse-sso.rb +++ b/files/discourse-sso.rb @@ -6,12 +6,13 @@ SIGNUP_URL = "https://www.eom.dev/members" # OIDC is the only login method left, so with auth_immediately the # Log In button redirects straight to Dex. Accounts link by email. -SiteSetting.ldap_enabled = false SiteSetting.enable_local_logins = false SiteSetting.auth_immediately = true # New members sign up at www.eom.dev; Discourse must still create their # account on first Dex login. SiteSetting.allow_new_registrations = true +# Chat is bundled in core and on by default; this forum does not use it. +SiteSetting.chat_enabled = false head_tag = <<~HTML