mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-13 23:57:08 +00:00
3cc7d00d71
For #569
18 lines
310 B
YAML
18 lines
310 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
minecraft:
|
|
image: itzg/minecraft-server
|
|
ports:
|
|
- "25565:25565"
|
|
volumes:
|
|
- "mc:/data"
|
|
environment:
|
|
EULA: "TRUE"
|
|
ENABLE_AUTOPAUSE: "TRUE"
|
|
OVERRIDE_SERVER_PROPERTIES: "TRUE"
|
|
MAX_TICK_TIME: "-1"
|
|
restart: always
|
|
|
|
volumes:
|
|
mc: {}
|