fix(docker): allow config changes in docker rebuild
This commit is contained in:
parent
3be4f30f8c
commit
b4836a01fd
|
@ -12,6 +12,11 @@ File format:
|
||||||
|
|
||||||
## v4.3.13
|
## 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
|
### Enhancements
|
||||||
|
|
||||||
* CLI `emqx_ctl pem_cache clean` to force purge x509 certificate cache,
|
* CLI `emqx_ctl pem_cache clean` to force purge x509 certificate cache,
|
||||||
|
|
|
@ -60,7 +60,8 @@ RUN chgrp -Rf emqx /opt/emqx && chmod -Rf g+w /opt/emqx \
|
||||||
|
|
||||||
USER 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:
|
# emqx will occupy these port:
|
||||||
# - 1883 port for MQTT
|
# - 1883 port for MQTT
|
||||||
|
|
Loading…
Reference in New Issue