- new per-host service, follows node-agent pattern - 7 new HA event types defined (routing in supervisor — Phase 5) - HeartbeatCheck as pipeline validator (pings /api/, emits ha_websocket_dead) - service.yaml + host configs for piha (ken) and chelsty-infra (chelsty) - test scaffolding with aiohttp/aiosqlite mocks (15/15 passing) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
967 B
YAML
38 lines
967 B
YAML
host: chelsty-infra
|
|
site: chelsty
|
|
|
|
services:
|
|
ha-diag-agent:
|
|
role: ha-diagnostic-agent
|
|
deployment_model: docker-compose
|
|
exposure: local-only
|
|
offline_required: false
|
|
depends_on:
|
|
local: []
|
|
external: [homeassistant]
|
|
config:
|
|
target_url: http://localhost:8123
|
|
location_tag: "chelsty"
|
|
events_dir: /opt/homelab/events/chelsty-infra
|
|
runtime:
|
|
config_path: /opt/homelab/config/ha-diag-agent
|
|
data_path: /var/lib/ha-diag-agent
|
|
|
|
node-agent:
|
|
role: node-stability-monitor
|
|
# LTE node: node-agent monitors and emits events but does NO Docker cleanup.
|
|
# Disk pressure on chelsty-infra is typically Frigate recordings; Frigate's
|
|
# own retain policy is the correct remediation, not docker prune.
|
|
deployment_model: docker-compose
|
|
exposure: local-only
|
|
offline_required: true
|
|
|
|
mosquitto:
|
|
role: local-mqtt-broker
|
|
|
|
zigbee2mqtt:
|
|
role: zigbee-mqtt-bridge
|
|
|
|
frigate:
|
|
role: nvr
|