Migrate from node-red to home assistant

I am about to move from node-red (docker container based installation) to HA. I have a heat pump running with ebus. In my current state, I have a ebusd container running and a mosquitto container running. I have manually configured my ebusd entities and my heat pump device bound to the entities. This worked well. Since I have now all running on my PI5 in own containers (HA as well), I want to switch to HAOS.

Therefore I like to get rid of the 2 remaining container (I know addons are running in container as well, but they are managed by HA). I start my ebusd container with the following configuration:

docker run -d --name ebusd --restart=always -p 8888:8888 -p 8080:8080 -v /home/pi/data/ebusd_data:/etc/ebusd john30/ebusd:latest -d enh:192.168.1.34:9999 --latency=10 --configpath=/etc/ebusd/ochsner --pollinterval=5 --mqtthost=192.168.1.8 --mqttport=1883 --mqttretain

The mqtt broker runs without user/password and is started without any additional parameter.

docker run -d -p 1883:1883 --name mqtt --restart=always -v /home/pi/data/mqtt_data:/mosquitto/config eclipse-mosquitto:2

When moving to HAOS, I will install both addons, ebusd and mosquitto. I would move my ebsud config to /config/ebusd.

Now my questions:
Where do I setup the additional ebusd parameters such as --mqttretain or the config path, I didn’t found that in the docs of the addon; do I need to add them to the custom-command-line-options?

Regarding mqtt:

MQTT will be configured automatically to use the Home Assitant MQTT Broker. This can be overridden in the config options if you would prefer to use an external MQTT server.

I would like to use the HA MQTT Broker, so I can remove all mqtt options except --mqttretain?

I have successfully moved the mqtt broker and the ebusd to addons. The parameter of ebusd could be configured via the configuration tab in the addon.