homelab-codex-ws/services/mosquitto/service.yaml

37 lines
1.2 KiB
YAML
Raw Normal View History

# NOT DEPLOYED — LEGACY MANIFEST (2026-07-28 truth cleanup, recon C8).
# This definition matches NOTHING that actually runs: the broker on vps belongs
# to the legacy ai-cluster stack (being decommissioned), and piha's broker is a
# host systemd mosquitto (OS package, no repo definition). The chelsty broker
# has its own config under hosts/chelsty-infra/runtime/mosquitto/. Kept for
# reference until the MQTT topology decision (recon open question 7) is made —
# do not deploy from this directory.
2026-05-11 20:46:50 +02:00
service:
name: mosquitto
owner_node: vps # WRONG in practice — see header; README used to say piha
2026-05-11 20:46:50 +02:00
exposure: private
dependencies: []
ports:
- container: 1883
host: 1883
protocol: tcp
- container: 9001
host: 9001
protocol: tcp
healthcheck:
type: container
interval: 30s
timeout: 10s
retries: 3
restart_policy: unless-stopped
persistence:
paths:
- /opt/homelab/data/mosquitto/config
- /opt/homelab/data/mosquitto/data
- /opt/homelab/data/mosquitto/log
runtime:
directories:
- /opt/homelab/data/mosquitto/config
- /opt/homelab/data/mosquitto/data
- /opt/homelab/data/mosquitto/log
env_vars: []