ansible/playbooks/tasks/game/minecraft-aofabric.yml
2024-02-17 22:15:47 -06:00

22 lines
578 B
YAML

# vim:ft=ansible:
- name: docker deploy minecraft - all the fabric
docker_container:
name: minecraft-aofabric
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/all-the-fabric-5/version/v5.4"
TYPE: "MODRINTH"
VERSION: "1.20.1"
MAX_MEMORY: "8G"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
- "24454:24454/udp"
volumes:
- /data/minecraft/aofabric:/data
tags: [ docker, minecraft ]