add minecraft

This commit is contained in:
Rémi Heredero 2024-02-26 09:08:06 +01:00
parent 4f65a05e10
commit 5fe279733d

View File

@ -90,3 +90,21 @@ services:
- "traefik.http.routers.ollama-webui-https.service=ollama-webui" - "traefik.http.routers.ollama-webui-https.service=ollama-webui"
- "traefik.http.routers.ollama-webui-https.middlewares=ollama-webui-auth" - "traefik.http.routers.ollama-webui-https.middlewares=ollama-webui-auth"
- "traefik.http.middlewares.ollama-webui-auth.basicauth.usersfile=/etc/traefik/authorized_users" - "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"