autocf: switch to official CurseForge API, but needs CF_API_KEY (#2043)

This commit is contained in:
Geoff Bourne
2023-03-29 21:00:39 -05:00
committed by GitHub
parent d672b3878f
commit 106996f06f
9 changed files with 11 additions and 1 deletions
+3
View File
@@ -616,6 +616,9 @@ docker run -d --name mc-ftb -e EULA=TRUE \
To manage a CurseForge modpack automatically with upgrade support, pinned or latest version tracking, set `TYPE` to "AUTO_CURSEFORGE". The appropriate mod loader (Forge / Fabric) version will be automatically installed as declared by the modpack. This mode will also take care of cleaning up unused files installed by previous versions of the modpack, but world data is never auto-removed.
> **NOTES:**
>
> A CurseForge API key is **required** to use this feature. Go to their [developer console](https://console.curseforge.com/), generate an API key, and set the environment variable `CF_API_KEY`.
>
> Be sure to use the appropriate [image tag for the Java version compatible with the modpack](#running-minecraft-server-on-different-java-version).
>
> Most modpacks require a good amount of memory, so it best to set `MEMORY` to at least "4G" since the default is only 1 GB.