Most of my setup is in Docker.
I use a number of machines…but at the moment OpenHAB is running in docker on an Odroid C2. Openhab has the hardware dependency of requiring my AeoTec Zwave USB stick.
On that same machine - at the moment, are some HA-Shared services. These are things like Mosquitto, my paradox-mqtt bridge, mqttwarn etc. These 3 i bring up together with dependencies (using docker-compose), as they’re dependent on mosquitto.
But as openhab is more tied to hardware and seperate, I can’t use the in built docker-compose dependency management for making openhab come up after mosquitto.
I’m wondering, if a, someone has a possible solution, or b, if there’s something native in openhab that can restart the mqtt binding if the server cannot be found.