Local mqtt and cloud mqtt

Hello,

I want to use cloudmqtt also next to mosquitto.
I have hassio so not much to configure
I can also log in as develop and with docker open the mosquitto to edit things but after restart all edits are gone
any advice?

The docs tell you where you can store persistant configuration: