Add System/network_watchdog.sh — services-layer connectivity watchdog
Checks: 1. Internet reachability (gates all remaining checks) 2. DDNS sync — public IP vs Cloudflare DNS record, restarts Gmer4Lfe.com container on mismatch 3. Tailscale status — notify only, no auto-restart 4. NPM proxy — external curl to https://gmer4lfe.com, 2-strike system before NginxProxyManager restart Config: master.conf NETWORK_WATCHDOG_* block, host1.conf HOST1_NETWORK_WATCHDOG_* values Added to SYSTEM_WATCHDOG_SCRIPTS — called by system_watchdog.sh each cycle Fix: storage_watchdog.sh was calling get_strikes/set_strikes without defining them — added local definitions (same pattern as docker_watchdog.sh and stability_watchdog.sh)
This commit is contained in:
@@ -346,6 +346,12 @@
|
||||
["7dtd"]="20480" # 20GB — game server world data, expected to be large
|
||||
)
|
||||
|
||||
# ━━━ Network Watchdog ━━━
|
||||
# Host-specific connectivity config for Watchdogs/System/network_watchdog.sh.
|
||||
HOST1_NETWORK_WATCHDOG_DDNS_DOMAIN="gmer4lfe.com"
|
||||
HOST1_NETWORK_WATCHDOG_DDNS_CONTAINER="Gmer4Lfe.com"
|
||||
HOST1_NETWORK_WATCHDOG_NPM_URL="https://gmer4lfe.com"
|
||||
|
||||
# ━━━ Docker Network Connect ━━━
|
||||
# Containers connected to custom networks at array start by docker_network_connect.sh.
|
||||
# Networks created if they don't exist — idempotent, safe to re-run.
|
||||
|
||||
Reference in New Issue
Block a user