ansible/playbooks/tasks/game/minecraft-create-extra.yml

21 lines
557 B
YAML
Raw Normal View History

2023-05-17 19:18:04 -05:00
# vim:ft=ansible:
- name: docker deploy minecraft - create extra
docker_container:
name: minecraft-create-extra
2023-08-06 14:14:49 -05:00
state: absent
2023-05-17 19:18:04 -05:00
image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env:
EULA: "true"
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-extra/version/1.0.0"
TYPE: "MODRINTH"
2023-05-17 19:18:04 -05:00
VERSION: "1.19.2"
ports:
- "25565:25565/tcp"
- "25565:25565/udp"
2023-05-17 19:52:55 -05:00
- "24454:24454/udp"
2023-05-17 19:18:04 -05:00
volumes:
- /data/minecraft/create-extra:/data
tags: [ docker, minecraft ]