feat: add systemd service file and updated n8n watchdog workflow

- docker-health-endpoint.service (systemd user unit)
- swarm-health-watchdog.json with Docker health enrichment
  - Calls http://172.19.0.1:18809/health for container state
  - Includes docker status/health/restarts in alert messages
  - Adds docker field to service check results

Task: t_461f71fe
This commit is contained in:
William Valentin
2026-05-13 14:33:48 -07:00
parent 2dc3c66bb4
commit b3eefc4d14
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
[Unit]
Description=Docker Health Endpoint (port 18809)
After=local-fs.target docker.service
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/will/lab/swarm/scripts/docker-health-server.py
Restart=on-failure
RestartSec=3
Environment=PORT=18809
[Install]
WantedBy=default.target
File diff suppressed because one or more lines are too long