Add OpenClaw, backup automation, health checks, Telegram notifications

Phase 6: OpenClaw docker-compose (port 3100) with health check
Phase 9: Enhanced backup.sh with full DB/config coverage + Telegram alerts
Phase 10: Health checks on all compose files, /api/system/notify endpoint
This commit is contained in:
Gan, Jimmy
2026-02-19 21:40:34 +08:00
parent 6f540ccdce
commit 64ecd99dc7
10 changed files with 155 additions and 47 deletions
+7
View File
@@ -32,9 +32,16 @@ services:
- VOLUME_ROOT=/volume1
- SSH_HOST=host.docker.internal
- SSH_USER=zjgump
- TELEGRAM_BOT_TOKEN=${TELEGRAM_BOT_TOKEN:-}
- TELEGRAM_CHAT_ID=${TELEGRAM_CHAT_ID:-}
volumes:
- /volume1:/volume1
- ./ssh/dashboard_terminal:/app/ssh/id_ed25519:ro
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:4000/api/system/stats')"]
interval: 30s
timeout: 5s
retries: 3
extra_hosts:
- "host.docker.internal:host-gateway"
networks: