Files
ZETA/minecraft/docker-compose.yml
john d2742d9198 Update minecraft/docker-compose.yml
More environment variables
2026-04-03 14:54:53 +01:00

23 lines
552 B
YAML

services:
mc:
image: itzg/minecraft-server:latest
pull_policy: daily
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA=TRUE
TZ=Europe/London
UID=1000
GID=1000
TYPE: "PAPER"
VERSION: "LATEST"
MEMORY: "8G"
ENABLE_AUTOPAUSE: "false"
MAX_TICK_TIME: "-1"
SERVER_NAME="My Home Server"
MOTD="A server hosted on ZETA"
volumes:
# attach the relative directory 'data' to the container's /data path
- /mnt/nvme/minecraft/data:/data