feat: add Docker health-state HTTP endpoint for Swarm Health Watchdog

- Python HTTP server on 0.0.0.0:18809
- GET /health -> all monitored containers (JSON)
- GET /health/<name> -> single container
- Monitors: brave-search, kokoro-tts, litellm, litellm-db, n8n-agent, searxng, whisper-server
- Returns status, health, restart count via docker inspect
- systemd user service for auto-start

Task: t_461f71fe
This commit is contained in:
William Valentin
2026-05-13 14:29:25 -07:00
parent aea9042cce
commit 9fdd29f7b7
1272 changed files with 863206 additions and 16973 deletions
@@ -1,5 +1,5 @@
{
"token": "tid=ded1d75350f66adcb3d0ab36e8e78c47;exp=1774855801;sku=plus_monthly_subscriber_quota;proxy-ep=proxy.individual.githubcopilot.com;st=dotcom;chat=1;cit=1;malfil=1;editor_preview_features=1;agent_mode=1;agent_mode_auto_approval=1;mcp=1;ccr=1;8kp=1;ip=24.143.97.87;asn=AS11404:a8d4ebfe1f558985e47b3a2f322eb67943b8b5c07551f35cc47bb62ddf1410ed",
"expiresAt": 1774855801000,
"updatedAt": 1774854001111
"token": "tid=ded1d75350f66adcb3d0ab36e8e78c47;exp=1776928516;sku=plus_monthly_subscriber_quota;proxy-ep=proxy.individual.githubcopilot.com;st=dotcom;chat=1;cit=1;malfil=1;editor_preview_features=1;agent_mode=1;agent_mode_auto_approval=1;mcp=1;client_byok=0;ccr=1;8kp=1;ip=71.231.248.128;asn=AS7922:b9709536eee1b4d8b7b813fa3692804a01b142e5640ed5a2f02d966edad8b1cb",
"expiresAt": 1776928516000,
"updatedAt": 1776926716237
}
+1 -1
View File
@@ -1,4 +1,4 @@
N8N_BASE_URL=http://192.168.153.113:18808
N8N_BASE_URL=http://192.168.153.130:18808
N8N_API_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI1YWQ1MGVhZC02ZTZhLTRkMTItYWI1Yi1lNWRiMTU4MzViYjUiLCJpc3MiOiJuOG4iLCJhdWQiOiJwdWJsaWMtYXBpIiwianRpIjoiOTU1MjRiMjMtY2M3OC00NzBhLWExZmUtMDczMTNhYTE2YjZiIiwiaWF0IjoxNzczNzc5NTUxfQ.VKDvRzFYr3x8oBIqIEzw6KQ4tnmTdXZf_9TSChM87xk
N8N_ACTION_PATH=openclaw-action
N8N_SECRET_HEADER=x-openclaw-secret