Skip to content

Commit

Permalink
Docker volume/mount point fixes per review.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Oct 26, 2018
1 parent 064d945 commit 26e5766
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/1.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ RUN set -x && \
libwebsockets && \
rm -rf /build /etc/apk /lib/apk

VOLUME ["/mosquitto/config", "/mosquitto/data", "/mosquitto/log"]
VOLUME ["/mosquitto/data", "/mosquitto/log"]

# Set up the entry point script and default command
COPY docker-entrypoint.sh /
Expand Down
6 changes: 5 additions & 1 deletion docker/1.5/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
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
```
Expand Down

0 comments on commit 26e5766

Please sign in to comment.