ansible/roles/minecraft/templates/docker-compose.yml.j2

24 lines
528 B
Plaintext
Raw Normal View History

2022-10-25 00:29:41 +02:00
version: "{{ compose_version }}"
volumes:
data:
name: minecraft_data
services:
lychee:
container_name: minecraft
image: "itzg/minecraft-server"
environment:
TYPE: "PAPER"
EULA: "TRUE"
2022-10-25 00:36:55 +02:00
SNOOPER_ENABLED: "false"
2022-10-25 00:29:41 +02:00
DIFFICULTY: "normal"
MOTD: "Le gentil serveur de Momo Pierre et Quentin"
2022-10-27 00:20:18 +02:00
WHITELIST: "Joyau,MissPlumelle,XxGasKanxX"
2022-10-25 00:29:41 +02:00
ports:
- "25565:25565"
volumes:
- data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro