If you have a modpack that requires a specific version of Forge, or you want to play an older version for any reason, you can use these steps to launch your server in the proper version.
1. Download the Forge installer for the version of Forge you want to install from the official Forge website.
2. Open the File Manager
3. Navigate to /minecraft/
4. Upload your forge installer to this location
5. Go back one folder to /
and right click docker-compose.yml
then click Edit
6. Add a new line under TYPE: FORGE
that says FORGE_INSTALLER:
followed by the name of your forge installer file name. This will change both the Minecraft version and forge version. Save the file when you're done.
Note: If you are using a version older than 1.18, you must also change the image tag from latest
to java8-multiarch
7. Save Config & Restart the Basic Server Settings