According to this document: discourse/docs/INSTALL-cloud.md at main · discourse/discourse · GitHub, how do I specify the ESR version?
You can do a version: xyz in your app.yml file. IIRC under the params section. It should be commented; you can just uncomment the line and specify the version.
Following the automatic installation commands above, it seems you can’t configure app.yml during command execution, right?
In what way? Can you elaborate? If this was a fresh installatuon, you can do this. But note that you cannot downgrade existing instances to previous versions, only upwards.
Manually specifying the version should follow the Advanced Configuration process at the end of the documentation.
I mean running the following command:
wget -qO- https://raw.githubusercontent.com/discourse/discourse_docker/main/install-discourse | sudo bash
How can I modify app.yml during the execution of this command? It seems like the default installation is the latest version, but I want to install the ESR version.
It seems that this can only be edited after the installation is complete, and the changes will take effect on the next build. I want to specify the ESR version from the start, rather than installing the latest version.
Basing off my memory here, in the installation process, there will be a part where it says to press CTRL + C if you want to edit the app.yml file, which you can then perform:
cd /var/discourse
nano containers/app.yml
to edit it, then run a rebuild.
Thank you so much, because the documentation didn’t mention this step, which left me quite confused. I’ll give it a try.
You can also not use that script, it’s just a checkout and copying the samples to containers, that’s good for power user configurations.
And also reconsider using stable/esr, it feels you will be very unwelcome with support questions in this constellation ![]()