27 lines
1.6 KiB
YAML
27 lines
1.6 KiB
YAML
# vim:ft=ansible:
|
|
- name: docker deploy minecraft hexxit2-survival
|
|
docker_container:
|
|
name: hexxit2-survival
|
|
state: started
|
|
image: rehashedsalt/minecraft-forge:1.12.2-14.23.5.2855-master
|
|
restart_policy: unless-stopped
|
|
pull: yes
|
|
env:
|
|
TZ: "America/Chicago"
|
|
ARGS: "-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1"
|
|
JRE_XMX: 5G
|
|
JRE_XMS: 3G
|
|
FORGE_PACK_ZIP: "https://srv.9iron.club/files/packs/1.12.2-hexxit2/latest.zip"
|
|
ports:
|
|
- "25565:25565/tcp"
|
|
- "25565:25565/udp"
|
|
volumes:
|
|
- /data/minecraft/hexxit2-survival/backups:/minecraft/backups
|
|
- /data/minecraft/hexxit2-survival/logs:/minecraft/logs
|
|
- /data/minecraft/hexxit2-survival/world:/minecraft/world
|
|
- /data/minecraft/hexxit2-survival/ops.json:/minecraft/ops.json
|
|
- /data/minecraft/hexxit2-survival/server.properties:/minecraft/server.properties
|
|
- /data/minecraft/hexxit2-survival/mods/LagGoggles-1.12.2-5.8-132.jar:/minecraft/mods/LagGoggles-1.12.2-5.8-132.jar
|
|
- /data/minecraft/hexxit2-survival/mods/TickCentral-3.2.jar:/minecraft/mods/TickCentral-3.2.jar
|
|
tags: [ docker, minecraft, hexxit, survival ]
|