ansible/playbooks/tasks/game/minecraft-createfarming.yml
Jacob Babor e0e0d626f9 Add Minecraft monitoring!
This also fixes some duplicate alert structures we saw earlier
2024-07-10 01:13:20 -05:00

28 lines
881 B
YAML

# vim:ft=ansible:
- name: docker deploy minecraft - create farming and delights
docker_container:
name: minecraft-createfarming
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-farmersdelight/version/1.0.0"
TYPE: "MODRINTH"
VERSION: "1.20.1"
MAX_MEMORY: "6G"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
- "24454:24454/udp"
# Prometheus exporter for Forge
# https://www.curseforge.com/minecraft/mc-mods/prometheus-exporter
#- "19565:19565/tcp"
# Prometheus exporter for Fabric
# https://modrinth.com/mod/fabricexporter
- "19565:25585/tcp"
volumes:
- /data/minecraft/createfarming:/data
tags: [ docker, minecraft, create, createfarming ]