Could you give more details on this?
By an add-on, do you mean a docker container? You seem to have installed a mosquitto add-on. Did you get it from the Docker Hub? If I have installed the Node-Red add-on, can I use the mqtt nodes in Node-RED to talk to this broker?
I have other questions about developing my own add-ons, but this will do for a start.