add minecraft
This commit is contained in:
parent
4f65a05e10
commit
5fe279733d
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user