21 lines
557 B
YAML
21 lines
557 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy minecraft - create extra
|
|
docker_container:
|
|
name: minecraft-create-extra
|
|
state: absent
|
|
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"
|
|
VERSION: "1.19.2"
|
|
ports:
|
|
- "25565:25565/tcp"
|
|
- "25565:25565/udp"
|
|
- "24454:24454/udp"
|
|
volumes:
|
|
- /data/minecraft/create-extra:/data
|
|
tags: [ docker, minecraft ]
|