update: Generic Dockerfile README to note config provided via mount point

Signed-off-by: Lachlan Greenland <lgreenland93@gmail.com>
This commit is contained in:
Lachlan Greenland
2025-08-23 07:24:23 +01:00
committed by Roger Light
parent 53a4406ddc
commit aeb6e073df
+10 -1
View File
@@ -2,13 +2,22 @@
Containers built with this Dockerfile build as source from published tarballs.
## Mount Points
Three docker volumes have been created in the image to be used for configuration, persistent storage and logs.
A docker mount point has been created in the image to be used for configuration.
```
/mosquitto/config
```
Two docker volumes have been created in the image to be used for persistent storage and logs.
```
/mosquitto/data
/mosquitto/log
```
## User/Group
The image runs mosquitto under the mosquitto user and group, which are created
with a uid and gid of 1883.
## Running without a configuration file
Mosquitto 2.0 requires you to configure listeners and authentication before it
will allow connections from anything other than the loopback interface. In the