22 lines
581 B
YAML
22 lines
581 B
YAML
# vim:ft=ansible:
|
|
- name: docker deploy minecraft - all of fabric orion
|
|
docker_container:
|
|
name: minecraft-aoforion
|
|
state: started
|
|
image: itzg/minecraft-server:latest
|
|
restart_policy: unless-stopped
|
|
pull: yes
|
|
env:
|
|
EULA: "true"
|
|
MODRINTH_PROJECT: "https://modrinth.com/modpack/all-of-fabric/version/1.0.1"
|
|
TYPE: "MODRINTH"
|
|
VERSION: "1.19.2"
|
|
MAX_MEMORY: "8G"
|
|
ports:
|
|
- "25565:25565/tcp"
|
|
- "25565:25565/udp"
|
|
- "24454:24454/udp"
|
|
volumes:
|
|
- /data/minecraft/aoforion:/data
|
|
tags: [ docker, minecraft ]
|