ansible/playbooks/tasks/game/minecraft-vanilla.yml
2023-06-04 19:55:03 -05:00

20 lines
530 B
YAML

# vim:ft=ansible:
- name: docker deploy minecraft - vanilla
docker_container:
name: minecraft-vanilla
state: started
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/extreme-optimization!/version/1.19.4TPL"
TYPE: "MODRINTH"
VERSION: "1.19.4"
ports:
- "25565:26565/tcp"
- "25565:26565/udp"
volumes:
- /data/minecraft/vanilla:/data
tags: [ docker, minecraft ]