node_exporter (new service): - Add services/node_exporter/docker-compose.yml matching solaria deployment (network_mode: host, pid: host, /:/host:ro,rslave mount) - Add services/node_exporter/service.yaml zigbee2mqtt chelsty-infra override: - Fix network_mode: host (mosquitto runs on host network, port 1883 on localhost) - Fix volume mount: ./configuration.yaml → absolute /opt/homelab/config/zigbee2mqtt/ (secrets stay in runtime config dir, never in Git) - Remove MQTT_USER/MQTT_PASSWORD (mosquitto uses allow_anonymous true) - Extend healthcheck start_period to 60s (z2m takes time on first start) chelsty-ha/services.yaml: - Remove node-agent entry entirely (never deployed, no plans to bootstrap now) - Keep homeassistant with monitor: false (no node-agent = no health events) supervisor: respect monitor: false in services.yaml - Skip action generation for services where monitor=false - Cleans up chelsty-ha entries from action queue without removing desired-state docs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
682 B
YAML
18 lines
682 B
YAML
services:
|
|
zigbee2mqtt:
|
|
# host network: mosquitto runs with network_mode: host on chelsty-infra,
|
|
# so zigbee2mqtt must also use host networking to reach localhost:1883.
|
|
network_mode: host
|
|
volumes:
|
|
# configuration.yaml lives in the runtime config dir (not in Git).
|
|
# On chelsty-infra: /opt/homelab/config/zigbee2mqtt/configuration.yaml
|
|
- /opt/homelab/config/zigbee2mqtt/configuration.yaml:/app/data/configuration.yaml:ro
|
|
environment:
|
|
- TZ=Europe/Warsaw
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "wget -qO- http://localhost:8080 > /dev/null 2>&1 || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 60s
|