Update minecraft/docker-compose.yml

This commit is contained in:
2026-04-03 21:42:51 +01:00
parent d2742d9198
commit eddf2b7402

View File

@@ -1,23 +1,20 @@
services:
mc:
image: itzg/minecraft-server:latest
minecraft:
image: itzg/minecraft-server
pull_policy: daily
tty: true
stdin_open: true
ports:
- "25565:25565"
environment:
EULA=TRUE
TZ=Europe/London
UID=1000
GID=1000
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