Home (HomeKit) in 2022 : best solution/approaches

Hello

i cannot see homekit there … :frowning:
Guess i will have to dig into docker even deeper …

What a shame net:host is not possible on docker mac.

EDIT: i found this thread:

I also exposed 5353 in the docker config but it did nothing.
i do not even see openhab service in dns viewer …
But i can reach OH via Browser and even send commands to items through the console.

and my docker conf:

openhab:
    image: "openhab/openhab:milestone"
    container_name: openhab
    restart: always
    ports:
      - "8080:8080"
      - "8443:8443"
      - 8101:8101
      # 8101 samsung tv
      - 8009:8009
      # 8009 chromecast (klingel)
      - 3671:3671
      #- 3671:3671/udp
      # 3671 knx router - set nat = true
      - 5007:5007
      # 5007 language protocol server
      - 5353:5353
      # 5353 mdns for homekit
      - 6524:6524/udp
      - 1012:1012
      - 9123:9123
      # 9123 Homekit
      - 123:123  
      # 123 ntp time server    
    volumes:
      - "./openhab/openhab_addons:/openhab/addons"
      - "./openhab/openhab_conf:/openhab/conf"
      - "./openhab/openhab_userdata:/openhab/userdata"
    environment:
      CRYPTO_POLICY: "unlimited"
      EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
      OPENHAB_HTTP_PORT: "8080"
      OPENHAB_HTTPS_PORT: "8443"

Do i have to add the ip adress the container got assigned from docker into the config maybe?

here is some of the mdns logs (trace)

2022-12-14 15:12:06.478 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - Registering new service _openhab-server._tcp.local. at 172.18.0.10:8080 (334ba370b830.local.)
2022-12-14 15:12:06.487 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - Registering new service _openhab-server-ssl._tcp.local. at 172.18.0.10:8443 (334ba370b830.local.)
2022-12-14 15:12:07.060 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - ip address change: added [172.18.0.10/16], removed
2022-12-14 15:12:09.135 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - mDNS service has been stopped (334ba370b830.local.)
2022-12-14 15:12:09.165 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - mDNS service has been started (334ba370b830.local. for IP 172.18.0.10)
2022-12-14 15:12:09.168 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - Registering new service _openhab-server._tcp.local. at 172.18.0.10:8080 (334ba370b830.local.)
2022-12-14 15:12:09.175 [DEBUG] [ansport.mdns.internal.MDNSClientImpl] - Registering new service _openhab-server-ssl._tcp.local. at 172.18.0.10:8443 (334ba370b830.local.)