This example runs a basic node-red and mosquitto MQTT Broker configuration for tests.
You will need docker and docker compose plugin.
Use:
docker compose build
docker compose up
Navigate to http://localhost:1880 to access the node-red
To use the MQTT Broker, add a MQTT node with the server: mosquitto and port: 1883