Merge pull request #7102 from zmstone/fix-docker-no-volume-for-etc
fix(docker): allow config changes in docker rebuild
This commit is contained in:
commit
f87d262fbc
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue