Skip to content

Commit

Permalink
examples: adjust gtnh example to use MEMORY and JVM_OPTS (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Jan 16, 2025
1 parent 4e63990 commit 4f1a09b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions examples/gtnh/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ services:
GENERIC_PACKS_PREFIX: https://downloads.gtnewhorizons.com/ServerPacks/
# if this isn't true, then the container tries to download the modpack every run
SKIP_GENERIC_PACK_UPDATE_CHECK: "true"
MEMORY: 6G
# Make sure that this matches what is in your pack's startserver bash file
CUSTOM_JAR_EXEC: "-Xms6G -Xmx6G -Dfml.readTimeout=180 @java9args.txt -jar lwjgl3ify-forgePatches.jar nogui"
JVM_OPTS: -Dfml.readTimeout=180 @java9args.txt
CUSTOM_JAR_EXEC: -jar lwjgl3ify-forgePatches.jar nogui
volumes:
# attach the relative directory 'data' to the container's /data path
# attach a managed volume, change to a relative or absolute host directory if needed
- mc-data:/data
volumes:
mc-data:

0 comments on commit 4f1a09b

Please sign in to comment.