homelab-codex-ws/hosts/chelsty-infra
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
..
runtime zigbee2mqtt: use extra_hosts host-gateway instead of network_mode: host 2026-05-27 15:12:33 +02:00
capabilities.yaml refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
host.yaml refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
networking.yaml refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
paths.yaml refactor(hosts): split chelsty monolith into chelsty-ha and chelsty-infra 2026-05-20 14:20:49 +02:00
services.yaml feat(node-agent): implement health monitor and safe cleanup policy 2026-05-27 13:15:06 +02:00