Docker setup with Shelly and CoIoT

I just wanted to add my compose. I found adding the port twice, once with and once without the /udp flag did the trick. I tried both separately and it didn’t work.


  homeassistant:
    container_name: hass
    env_file:
      - stack.env
    image: homeassistant/home-assistant
    volumes:
      - /data/DBs/HASS:/config
      - /etc/localtime:/etc/localtime:ro
    ports:
      - 192.168.41.5:8123:8123
      - 192.168.41.5:4357:4357
      - 192.168.41.5:5683:5683
      - 192.168.41.5:5683:5683/udp
    restart: unless-stopped
2 Likes