homebridge / docker-homebridge

Homebridge Docker. HomeKit support for the impatient using Docker on x86_64, Raspberry Pi (armhf) and ARM64. Includes ffmpeg + libfdk-aac.
https://hub.docker.com/r/homebridge/homebridge/
GNU General Public License v3.0
2.57k stars 241 forks source link

Do not start avahi-daemon unless Avahi is the mDNS advertiser. #457

Closed traviswparker closed 2 years ago

traviswparker commented 2 years ago

Feature Description

Would it be possible to disable avahi-daemon unless it is selected as the advertiser? I'm running docker-homebridge on a NAS that also runs Avahi. When avahi-daemon starts in the container, it causes the NAS's advertised services to disappear until avahi-daemon in the container is disabled.

oznu commented 2 years ago

Other plugins and services make use of avahi, not just the homebridge advertiser. You can disable it via -e ENABLE_AVAHI=0