Files
ZETA/minecraft/docker-compose.yml
john 9ca3cfcd8a Update minecraft/docker-compose.yml
Add in two further environment variables to see if I can connect
2026-04-03 14:18:42 +01:00

15 lines
367 B
YAML

services:
mc:
image: itzg/minecraft-server:latest
pull_policy: daily
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA: "TRUE"
ENABLE_AUTOPAUSE: "false"
MAX_TICK_TIME: "-1"
volumes:
# attach the relative directory 'data' to the container's /data path
- /mnt/nvme/minecraft/data:/data