I’m trying to automate my Home Assistant deployment (HA, mosquitto and zigbee2mqtt) on docker but I’m blocking on mqtt broker setup in Home Assistant.
I have deployed the 3 containers and configure mosquitto users.
I tested with Home Assistant UI to check if user/password was OK and it was successful.
I find in oldest post there was configuration fields in mqtt block (broker, port, username, password) inside configuration.yaml but there were deprecated/remove. I check in REST api and websocket api but i didn’t find a solution
Is there something I missed ?
What you could do is creating a “boilerplate”, minimal installation by using the GUI from scratch, take a backup of /config/.storage, then deploy that backup as the initial configuration of your newly deployed HA’s.