File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ services :
2+ mc :
3+ # make sure this java version matches with pack java version
4+ image : itzg/minecraft-server:java21
5+ tty : true
6+ stdin_open : true
7+ ports :
8+ - " 25565:25565"
9+ environment :
10+ EULA : " TRUE"
11+ TYPE : CUSTOM
12+ GENERIC_PACKS : GT_New_Horizons_2.7.1_Server_Java_17-21
13+ GENERIC_PACKS_SUFFIX : .zip
14+ GENERIC_PACKS_PREFIX : https://downloads.gtnewhorizons.com/ServerPacks/
15+ # if this isn't true, then the container tries to download the modpack every run
16+ : "true"
17+ # Make sure that this matches what is in your pack's startserver bash file
18+ CUSTOM_JAR_EXEC : " -Xms6G -Xmx6G -Dfml.readTimeout=180 @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui"
19+ volumes :
20+ # attach the relative directory 'data' to the container's /data path
21+ - mc-data:/data
22+ volumes :
23+ mc-data:
You can’t perform that action at this time.
0 commit comments