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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user