Add oceanblock

This commit is contained in:
Salt 2022-05-26 22:16:49 -05:00
parent a9ae157b2a
commit d39dab336a
2 changed files with 28 additions and 4 deletions

View File

@ -8,8 +8,7 @@
- name: include tasks for gameservers - name: include tasks for gameservers
include_tasks: tasks/game/{{ item }} include_tasks: tasks/game/{{ item }}
with_items: with_items:
- minecraft-botaniapack2-survival.yml - minecraft-oceanblock.yml
- minecraft-botaniapack2-creative.yml
tags: [ always ] tags: [ always ]
roles: roles:
- role: backup - role: backup
@ -18,8 +17,9 @@
- /data - /data
- /etc - /etc
backup_s3backup_exclude_list_extra: backup_s3backup_exclude_list_extra:
- /data/minecraft/botaniapack2-survival/backups - /data/minecraft/botaniapack2-survival
- /data/minecraft/botaniapack2-creative/backups - /data/minecraft/botaniapack2-creative
- /data/minecraft/oceanblock/backups
tags: [ backup ] tags: [ backup ]
- hosts: vm-minecraft-2.home.mgmt.desu.ltd - hosts: vm-minecraft-2.home.mgmt.desu.ltd
gather_facts: no gather_facts: no

View File

@ -0,0 +1,24 @@
# vim:ft=ansible:
- name: docker deploy minecraft oceanblock
docker_container:
name: oceanblock
state: started
image: rehashedsalt/minecraft-forge:1.16.5-36.2.35-openjdk11-jre-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: 8G
JRE_XMS: 4G
FORGE_PACK_ZIP: "https://srv.9iron.club/files/packs/1.16.5-oceanblock/latest.zip"
ports:
- "40501:25565/tcp"
- "40501:25565/udp"
volumes:
- /data/minecraft/oceanblock/backups:/minecraft/backups
- /data/minecraft/oceanblock/logs:/minecraft/logs
- /data/minecraft/oceanblock/ops.json:/minecraft/ops.json
- /data/minecraft/oceanblock/server.properties:/minecraft/server.properties
- /data/minecraft/oceanblock/world:/minecraft/world
tags: [ docker, minecraft, oceanblock, survival ]