ansible/playbooks/tasks/game/minecraft-aofabric.yml

22 lines
578 B
YAML
Raw Normal View History

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