fix(docker): allow config changes in docker rebuild

This commit is contained in:
Zaiming (Stone) Shi 2022-02-22 12:42:13 +01:00
parent 3be4f30f8c
commit b4836a01fd
2 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,11 @@ File format:
## v4.3.13
### Important changes
* For docker image, /opt/emqx/etc has been removed from the VOLUME list,
this made easier for users to rebuild image on top with changed configs.
### Enhancements
* CLI `emqx_ctl pem_cache clean` to force purge x509 certificate cache,

View File

@ -60,7 +60,8 @@ RUN chgrp -Rf emqx /opt/emqx && chmod -Rf g+w /opt/emqx \
USER emqx
VOLUME ["/opt/emqx/log", "/opt/emqx/data", "/opt/emqx/etc"]
## NOTE: /opt/emqx/etc is removed from the VOLUME list since 4.3.13
VOLUME ["/opt/emqx/log", "/opt/emqx/data"]
# emqx will occupy these port:
# - 1883 port for MQTT