Finally, here is a summary.
Our requirement is: install a specific version.
- 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
- 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
- Rebuild
./launcher rebuild app
If
version: esr, you don’t need to read further.First, run
git pullto 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 fromrelease/2026.1torelease/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 whererelease/2026.1has updates (especially security fixes).