Mount a working message Broker
So i have mount a mqtt container
version: '2'
services:
mosquitto:
container_name: mosquitto
user: 1000:1000
ports:
- 1883:1883
- 9901:9001
volumes:
- ./conf:/mosquitto/config
- ./data:/mosquitto/data
- ./log:/mosquitto/log
image: eclipse-mosquitto
restart: always
I download mqtt-spy on my laptop for test the connection with my mqtt broker
In Win11 for execute in one click the JAR we need to install a JDK of course and to make a bat file to execute the command "java -jar nameOfJar.jar"
now i configurate the connection in mqtt spy