January-3rd-2022, 12:55 PM
The latest container of today starts the mosquitto in the version V2.0.14. If you want to create you personal and own mosquitto.conf file from the default file, then get a copy of it from the official mosquitto's source code repository from here https://github.com/eclipse/mosquitto/blo...uitto.conf and then edit the file and add the two missing lines
Then copy (WinSCP for example) your edited file to your netFIELD Compact gateway to the folder e.g. /home/admin/ and then start the container again with
This command above will map your personal mosquitto.conf file into the new container during startup.
Then copy (WinSCP for example) your edited file to your netFIELD Compact gateway to the folder e.g. /home/admin/ and then start the container again with
Code:
docker run -d -it -p 1883:1883 -p 9001:9001 --name mosquitto -v /home/admin/mosquitto.conf:/mosquitto/config/mosquitto.conf eclipse-mosquitto
This command above will map your personal mosquitto.conf file into the new container during startup.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)