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