Mosquitto MQTT Docker image

Hi all,

I use Mosquitto MQTT broker in my Home Assistant setup as it gives me more control than the internal broker.

The image is set up for TLS on a WAN port and with two further ports for LAN and LOCAL, it’s a work in progress but I just published it to Github and thought I’d share in case it was of use to anyone.

My plans next are to add a script to make user creation cleaner (and handle the restart that is currently required so that won’t be needed any more), I also plan to add a random user generator that will output the credentials to the terminal for you.

Hope someone finds it useful.

1 Like

Great work!! Will be great if you can add the instructions on how to configure it with HA either here or in the readme.

Great idea, hadn’t considered that.