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