mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-01 03:12:45 +00:00
For autopause, added use of mc-monitor to detect players connected (#1059)
This commit is contained in:
@@ -12,7 +12,10 @@ services:
|
||||
ENABLE_AUTOPAUSE: "TRUE"
|
||||
OVERRIDE_SERVER_PROPERTIES: "TRUE"
|
||||
MAX_TICK_TIME: "-1"
|
||||
restart: always
|
||||
# More aggressive settings for demo purposes
|
||||
AUTOPAUSE_TIMEOUT_INIT: "30"
|
||||
AUTOPAUSE_TIMEOUT_EST: "10"
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
mc: {}
|
||||
|
||||
Reference in New Issue
Block a user