Thanks again. really appreciated.
It’s getting clearer for me every day, although still a lot to learn.
I use to delete everything now and do a new deployment.
The configuration for mosquitto I have now is as followed:
log_dest file /docker/mosquitto/log/mosquitto.log
docker run -itd --name=mqtt -p 1883:1883 -p 9001:9001 --restart=always --net=mynetwork -v /docker/mosquitto/config:/mosquitto/config -v /docker/mosquitto/data:/mosquitto/data -v /docker/mosquitto/log:/mosquitto/log eclipse-mosquitto
It is now properly mapping the ports, deployed to own created network and redirects certain folders. a few questions.
Question 1 is most important to me, cause I need to know if the container works fine and that I can proceed with the deployment of zigbee2mqtt
can I connect to the mosquitto website that is published ?
if so, how can I reach it ?
I try to access the website through the host ip address of the pi (port 1883 or 9001), that doesn’t work. The created network (mynetwork) has it’s own subnet, but I cannot reach that ip address from my client.
the docker deploymentscript above redirects certain folders, but it doesn’t create a log file on the redirected location, how do I verify the redirect works ?