May-11th-2020, 12:29 PM
The two application software I mentioned before are available already containerized:
Node-RED: https://hub.docker.com/r/nodered/node-red
Mosquitto MQTT Broker: https://hub.docker.com/_/eclipse-mosquitto
Both are installed in just 10 minutes on netPI. Node-RED already includes an MQTT client. Then you have all you need.
If you give the mosquitto container the name "mosquitto" during deployment for example then you can directly address it within Node-RED MQTT client over "mosquitto" instead of entering the local containers IP address. The Docker internal DNS server automatically redirects it to the container's IP address.
Thx
Node-RED: https://hub.docker.com/r/nodered/node-red
Mosquitto MQTT Broker: https://hub.docker.com/_/eclipse-mosquitto
Both are installed in just 10 minutes on netPI. Node-RED already includes an MQTT client. Then you have all you need.
If you give the mosquitto container the name "mosquitto" during deployment for example then you can directly address it within Node-RED MQTT client over "mosquitto" instead of entering the local containers IP address. The Docker internal DNS server automatically redirects it to the container's IP address.
Thx
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)