EULA: "TRUE"
TYPE: CUSTOM
GENERIC_PACK: /server-files/GT_New_Horizons_2.8.0_Server_Java_17-25.zip
# if this isn't true, then the container tries to update the modpack every run. This could break the modpack!
SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
# Use during update process for manual intervention:
# SETUP_ONLY: true
CUSTOM_SERVER: "lwjgl3ify-forgePatches.jar"
INIT_MEMORY: "16G" # Set initial heap
MAX_MEMORY: "32G" # Set max heap
MEMORY: "32G"
JVM_OPTS: "-Dfml.readTimeout=180 @java9args.txt"
# Set server.properties according to GTNH default
MOTD: "GT:New Horizons on Docker"
DIFFICULTY: "hard"
ENABLE_COMMAND_BLOCK: "true"
SPAWN_PROTECTION: 1
VIEW_DISTANCE: 8
MODE: 0
LEVEL_TYPE: "rwg"
ALLOW_FLIGHT: "TRUE"
# Dump content of server.properties file at start (useful for debugging)
DUMP_SERVER_PROPERTIES: "TRUE"
# Enable minecraft server console access
CREATE_CONSOLE_IN_PIPE: "true"
# Set Whitelist
WHITELIST: |
# Set Administrators
OPS: |
volumes:
- ./gtnh-data:/data
- ./gtnh-server-files:/server-files:ro
# You should work out a backup concept for the volume!