ansible/playbooks/tasks/game/minecraft-botaniapack2-creative.yml

25 lines
1.4 KiB
YAML
Raw Normal View History

2021-08-07 12:08:29 -05:00
# vim:ft=ansible:
- name: docker deploy minecraft botaniapack2-creative
docker_container:
name: botaniapack2-creative
state: started
2021-12-20 17:24:11 -06:00
image: rehashedsalt/minecraft-forge:1.16.5-36.2.22-openjdk11
2021-08-07 12:08:29 -05:00
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: 3G
JRE_XMS: 3G
FORGE_PACK_ZIP: "https://srv.9iron.club/files/packs/1.16.5-botaniapack2/latest.zip"
ports:
- "40502:25565/tcp"
- "40502:25565/udp"
2021-08-07 12:08:29 -05:00
volumes:
- /data/minecraft/botaniapack2-creative/backups:/minecraft/backups
- /data/minecraft/botaniapack2-creative/logs:/minecraft/logs
- /data/minecraft/botaniapack2-creative/ops.json:/minecraft/ops.json
- /data/minecraft/botaniapack2-creative/server.properties:/minecraft/server.properties
- /data/minecraft/botaniapack2-creative/world:/minecraft/world
2021-08-07 12:08:29 -05:00
tags: [ docker, minecraft, botania, creative ]