homelab-codex-ws/hosts/chelsty-infra/runtime
Oskar Kapala b3912fe0ce zigbee2mqtt: use extra_hosts host-gateway instead of network_mode: host
docker-compose v1 cannot clear the ports list from the base compose with
ports: [] in an override, so network_mode: host caused InvalidArgument.

Use extra_hosts with host-gateway instead: maps 'mosquitto' hostname to the
Docker bridge gateway IP so mqtt://mosquitto:1883 reaches the host-networked
mosquitto process from within the bridge-networked z2m container.
Requires Docker 20.10+ (present on chelsty-infra).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 15:12:33 +02:00
..
frigate fix: frigate config not read-only, mount from /opt/homelab 2026-05-22 11:31:31 +02:00
mosquitto refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
node-agent fix(node-agent): correct VPS_EVENTS_HOST to actual VPS Tailscale IP 2026-05-27 14:07:27 +02:00
stability-agent refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
zigbee2mqtt zigbee2mqtt: use extra_hosts host-gateway instead of network_mode: host 2026-05-27 15:12:33 +02:00