homelab-codex-ws/services/stability-agent/service.yaml

29 lines
813 B
YAML
Raw Normal View History

2026-05-15 18:51:45 +02:00
service:
name: stability-agent
# Deployed per-host: runs on vps, piha and solaria (and chelsty-infra once the
# site is revived). Was owner_node: chelsty — not a real node name; fixed during
# the 2026-07 truth cleanup (recon B7/F20.5), closing the kb/phases/backlog.md
# "stability-agent / node_exporter owner_node single" item for stability-agent.
owner_node: per-host
2026-05-15 18:51:45 +02:00
exposure: private
dependencies: []
healthcheck:
type: custom
interval: 60s
timeout: 10s
retries: 3
restart_policy: unless-stopped
persistence:
paths:
- /opt/homelab/state
- /opt/homelab/events
runtime:
directories:
- /opt/homelab/state
- /opt/homelab/events
env_vars:
- STABILITY_CHECK_INTERVAL
- DISK_THRESHOLD_PCT
- MQTT_HOST
- MQTT_PORT