[PR #910] fix(discourse): replace deprecated Bitnami images with official alternatives #13411

Open
opened 2026-06-15 13:15:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Dokploy/templates/pull/910
Author: @MagiqueDeveloper
Created: 5/26/2026
Status: 🔄 Open

Base: canaryHead: canary


📝 Commits (4)

  • d23274d refactor(docker-compose): update PostgreSQL and Redis images, adjust environment variables
  • a80d048 chore(meta.json): update Discourse version to 2026.1.4
  • dbc2e43 chore(docker-compose): comment out DISCOURSE_FORCE_HTTPS for production
  • d112470 fix(docker-compose): update Discourse app port to 80 for production

📊 Changes

3 files changed (+32 additions, -56 deletions)

View changed files

📝 blueprints/discourse/docker-compose.yml (+27 -53)
📝 blueprints/discourse/template.toml (+4 -2)
📝 meta.json (+1 -1)

📄 Description

What is this PR about?

Fixes the Discourse template which was broken due to Bitnami discontinuing their legacy images (bitnami/discourse, bitnami/postgresql, bitnami/redis, bitnamilegacy).

Changes:

  • Replaced bitnamilegacy/discourse:3.5.0 with discourse/discourse:2026.1.4 (official ESR image)
  • Replaced bitnami/postgresql:17 with pgvector/pgvector:pg16 (required for Discourse's vector extension)
  • Replaced bitnami/redis:7.4 with redis:7-alpine
  • Removed separate sidekiq container — the official image runs web + sidekiq internally via runit
  • Updated all env var names from Bitnami-specific (DISCOURSE_DATABASE_*, POSTGRESQL_*) to standard ones (DISCOURSE_DB_*, POSTGRES_*)
  • Added UNICORN_BIND_ALL: "true" to allow the proxy to reach the web process
  • Added DISCOURSE_DEVELOPER_EMAILS variable to template.toml so admin email is set at deploy time
  • Consolidated volumes from 4 down to 3

Checklist

Before submitting this PR, please make sure that:

Closed: #502 - Fix was replacing with BitnamiLegacy images which may soon be deprecated. Replacing with official images ensures that Bitnami does not have control to pull the plug suddenly again.

Screenshots or Videos

Discourse Setup Wizard Disource App Logs Discourse Redis Logs Discourse DB Logs

Note: The "Tada" SVG is not showing due to it not being served on HTTPS/SSL. This is using sslip for testing. SMTP is partially required for Discourse otherwise manual admin account creation is required, and it disables a lot of features that require emails. Refer to this


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Dokploy/templates/pull/910 **Author:** [@MagiqueDeveloper](https://github.com/MagiqueDeveloper) **Created:** 5/26/2026 **Status:** 🔄 Open **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (4) - [`d23274d`](https://github.com/Dokploy/templates/commit/d23274d7d474c225aed0f8e99426d24f3484675b) refactor(docker-compose): update PostgreSQL and Redis images, adjust environment variables - [`a80d048`](https://github.com/Dokploy/templates/commit/a80d048e7525608493afb501e58e5d586f992212) chore(meta.json): update Discourse version to 2026.1.4 - [`dbc2e43`](https://github.com/Dokploy/templates/commit/dbc2e4342628a259f2f233bdf31a671d65b2a595) chore(docker-compose): comment out DISCOURSE_FORCE_HTTPS for production - [`d112470`](https://github.com/Dokploy/templates/commit/d112470138274e3b4b89c00117ecf1fa0e00e739) fix(docker-compose): update Discourse app port to 80 for production ### 📊 Changes **3 files changed** (+32 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `blueprints/discourse/docker-compose.yml` (+27 -53) 📝 `blueprints/discourse/template.toml` (+4 -2) 📝 `meta.json` (+1 -1) </details> ### 📄 Description ## What is this PR about? Fixes the Discourse template which was broken due to Bitnami discontinuing their legacy images (`bitnami/discourse`, `bitnami/postgresql`, `bitnami/redis`, `bitnamilegacy`). **Changes:** - Replaced `bitnamilegacy/discourse:3.5.0` with `discourse/discourse:2026.1.4` (official ESR image) - Replaced `bitnami/postgresql:17` with `pgvector/pgvector:pg16` (required for Discourse's vector extension) - Replaced `bitnami/redis:7.4` with `redis:7-alpine` - Removed separate sidekiq container — the official image runs web + sidekiq internally via runit - Updated all env var names from Bitnami-specific (`DISCOURSE_DATABASE_*`, `POSTGRESQL_*`) to standard ones (`DISCOURSE_DB_*`, `POSTGRES_*`) - Added `UNICORN_BIND_ALL: "true"` to allow the proxy to reach the web process - Added `DISCOURSE_DEVELOPER_EMAILS` variable to `template.toml` so admin email is set at deploy time - Consolidated volumes from 4 down to 3 ## Checklist Before submitting this PR, please make sure that: - [x] I have read the suggestions in the README.md file https://github.com/Dokploy/templates?tab=readme-ov-file#general-requirements-when-creating-a-template - [x] I have tested the template in my instance, so the maintainers don't spend time trying to figure out what's wrong. - [ ] I have added tests that demonstrate that my correction works or that my new feature works. ## Issues related (if applicable) Closed: #502 - Fix was replacing with BitnamiLegacy images which may soon be deprecated. Replacing with official images ensures that Bitnami does not have control to pull the plug suddenly again. ## Screenshots or Videos <img width="1278" height="686" alt="Discourse Setup Wizard" src="https://github.com/user-attachments/assets/9eec0bae-7d81-4b0a-9720-526a088d88a1" /> <img width="2482" height="1386" alt="Disource App Logs" src="https://github.com/user-attachments/assets/ed56940a-0228-4536-8646-b52fa37bd714" /> <img width="2482" height="1386" alt="Discourse Redis Logs" src="https://github.com/user-attachments/assets/e631eb24-984a-416a-b6ae-65fe2ef06dd9" /> <img width="2482" height="1386" alt="Discourse DB Logs" src="https://github.com/user-attachments/assets/16f05ba4-631b-43ab-aafa-2912c00b56d5" /> ~~Note: The "Tada" SVG is not showing due to it not being served on HTTPS/SSL. This is using **sslip** for testing. SMTP is partially required for Discourse otherwise manual admin account creation is required, and it disables a lot of features that require emails.~~ Refer to [this](https://github.com/Dokploy/templates/pull/910#issuecomment-4550408174) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-06-15 13:15:08 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/templates#13411