Help deploying older versions of Discourse

Finally, here is a summary.

Our requirement is: install a specific version.

  1. Update the local code repository https://github.com/discourse/discourse_docker.git
# Enter the project root directory
cd /var/discourse
# Update to the latest version
git pull
  1. Modify the version to be specified

Edit containers/app.yml and add the following configuration at the end:

params:
  version: release/2026.1 # Best practice should be: esr
  1. Rebuild
./launcher rebuild app

If version: esr, you don’t need to read further.

First, run git pull to ensure the local code repository is up to date. Then specify the branch to deploy, and finally rebuild. This instruction applies to scenarios where you want to upgrade from release/2026.1 to release/2026.7.

If you simply want to upgrade an already installed release/2026.1, you should just click “Upgrade” in the admin dashboard. This applies to scenarios where release/2026.1 has updates (especially security fixes).