For autopause, added use of mc-monitor to detect players connected (#1059)

This commit is contained in:
Geoff Bourne
2021-09-30 16:51:51 -05:00
committed by GitHub
parent 9d03a1dc13
commit 3482944ac8
2 changed files with 10 additions and 18 deletions

View File

@@ -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: {}