Simplify deployment - use physics pause instead of container shutdown

- IDLE_PAUSE_SECONDS replaces IDLE_TIMEOUT_MINUTES
- Container stays running, physics pauses when idle
- No restart mechanism needed
- Remove wakeup service (no longer needed)
This commit is contained in:
2026-01-29 21:37:18 +00:00
parent 9d6086a4e5
commit ddf2c9439d
3 changed files with 14 additions and 49 deletions

View File

@@ -2,7 +2,7 @@
# Get this from: Cloudflare Zero Trust > Networks > Tunnels > Create > Docker
CLOUDFLARE_TUNNEL_TOKEN=your-tunnel-token-here
# Idle auto-shutdown (minutes)
# App exits after this many minutes with no active viewers
# Set to 0 to disable (app runs forever)
IDLE_TIMEOUT_MINUTES=30
# Idle auto-pause (seconds)
# Physics engine pauses after this many seconds with no viewers
# CPU drops to ~0% when paused, resumes instantly on visit
IDLE_PAUSE_SECONDS=30