diff --git a/docker-compose.yml b/docker-compose.yml index 8429efc..2052293 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -90,3 +90,21 @@ services: - "traefik.http.routers.ollama-webui-https.service=ollama-webui" - "traefik.http.routers.ollama-webui-https.middlewares=ollama-webui-auth" - "traefik.http.middlewares.ollama-webui-auth.basicauth.usersfile=/etc/traefik/authorized_users" + + minecraft: + image: 'itzg/minecraft-server' + restart: unless-stopped + stdin_open: true + tty: true + ports: + - "25565:25565" + volumes: + - "mc:/data" + environment: + EULA: "TRUE" + ENABLE_AUTOPAUSE: "TRUE" + OVERRIDE_SERVER_PROPERTIES: "TRUE" + MAX_TICK_TIME: "-1" + AUTOPAUSE_TIMEOUT_INIT: "30" + AUTOPAUSE_TIMEOUT_EST: "10" +