# Publishes the stack's service names on .local via the HOST's avahi-daemon # (over its D-Bus socket — no second daemon, avoids the :5353 collision). # Requires the host to run avahi-daemon and the socket to be mounted (see # docker-compose.avahi.yml). Used when ENABLE_MDNS=true and BASE_DOMAIN=*.local. FROM alpine:3.20 RUN apk add --no-cache avahi-tools COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]