ansible/roles/stacks/composes/inventory/itzg.yml
2023-09-25 10:40:20 +02:00

33 lines
847 B
YAML

# 2023-09-25
# Stack: itzg
---
itzg:
name: "itzg"
tasks:
- itzg.yml
ipv6: true
directories:
- "{{ stack_folder_datas }}/itzg/datas"
services:
- name: "itzg"
image: "itzg/minecraft-server:java17-graalvm-ce"
restart: "no"
ports:
- { exposed: "25565", container: "25565" }
environment:
- { name: "EULA", value: "TRUE" }
- { name: "TYPE", value: "FABRIC" }
- { name: "VERSION", value: "1.20.1" }
- { name: "ENABLE_COMMAND_BLOCK", value: "TRUE" }
- { name: "MEMORY", value: "2G" }
tmpfs: 256M
ressources:
cpu: "1.0"
memory: "2G"
volumes:
- { local: './{{ stack_folder_datas }}/itzg/datas', container: '/data', mode: 'rw' }