OH2 MQTT standalone server with text file config

I tend to link the following page, which is official documentation, but unfortunately not where most people would look:

https://github.com/openhab/openhab-addons/blob/main/bundles/org.openhab.binding.mqtt.generic/xtend_examples.md

Note that there are two main ways of setting up a broker (Broker Thing) and (device) Things via files:

  1. Your device Things are nested within the Broker Thing. This has a specific syntax.
  2. The Broker Thing is separate (can even be in a separate file), and the device Things reference the Broker Thing. This has a different specific syntax.

Both options have examples in the link above.

If your server itself is appropriately secured then not using a password is not an issue.

I made a generic-ish MQTT tutorial based on a Tasmota flashed Sonoff Basic - see if anything from there would fit for examples in your post.