mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-29 05:35:42 +00:00
Update Greg Tech New Horizons compose file example (#3677)
This commit is contained in:
1 parent
b008a33a8f
commit
6c81a0fd49
1 file changed
+12
-3
@@ -9,15 +9,24 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
EULA: "TRUE"
|
EULA: "TRUE"
|
||||||
TYPE: CUSTOM
|
TYPE: CUSTOM
|
||||||
GENERIC_PACKS: GT_New_Horizons_2.7.2_Server_Java_17-21
|
GENERIC_PACKS: GT_New_Horizons_2.8.0_Server_Java_17-25
|
||||||
GENERIC_PACKS_SUFFIX: .zip
|
GENERIC_PACKS_SUFFIX: .zip
|
||||||
GENERIC_PACKS_PREFIX: https://downloads.gtnewhorizons.com/ServerPacks/
|
GENERIC_PACKS_PREFIX: https://downloads.gtnewhorizons.com/ServerPacks/
|
||||||
# if this isn't true, then the container tries to download the modpack every run
|
# if this isn't true, then the container tries to download the modpack every run
|
||||||
SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
|
SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
|
||||||
MEMORY: 6G
|
MEMORY: 6G
|
||||||
# Make sure that this matches what is in your pack's startserver bash file
|
# Make sure that this matches what is in your pack's startserver bash file
|
||||||
JVM_OPTS: -Dfml.readTimeout=180 @java9args.txt
|
JVM_OPTS: "-Dfml.readTimeout=180 @java9args.txt"
|
||||||
CUSTOM_JAR_EXEC: -jar lwjgl3ify-forgePatches.jar nogui
|
CUSTOM_SERVER: "lwjgl3ify-forgePatches.jar"
|
||||||
|
# Set server.properties according to GTNH server defaults
|
||||||
|
MOTD: "GT:New Horizons 2.8.0"
|
||||||
|
DIFFICULTY: "hard"
|
||||||
|
ENABLE_COMMAND_BLOCK: "true"
|
||||||
|
SPAWN_PROTECTION: 1
|
||||||
|
VIEW_DISTANCE: 8
|
||||||
|
MODE: 0
|
||||||
|
LEVEL_TYPE: "rwg"
|
||||||
|
ALLOW_FLIGHT: "TRUE"
|
||||||
volumes:
|
volumes:
|
||||||
# attach a managed volume, change to a relative or absolute host directory if needed
|
# attach a managed volume, change to a relative or absolute host directory if needed
|
||||||
- mc-data:/data
|
- mc-data:/data
|
||||||
|
|||||||
Reference in new issue
Block a user