25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +01:00

Container: Expose only HOME volume, it contains all the required subdirs

This commit is contained in:
Badlop 2023-01-26 15:05:45 +01:00
parent de477f7b6c
commit b0f0dd3227

View File

@ -112,7 +112,7 @@ HEALTHCHECK \
WORKDIR $HOME WORKDIR $HOME
USER ejabberd USER ejabberd
VOLUME ["$HOME/conf", "$HOME/database", "$HOME/logs", "$HOME/upload"] VOLUME ["$HOME"]
EXPOSE 1883 4369-4399 5210 5222 5269 5280 5443 EXPOSE 1883 4369-4399 5210 5222 5269 5280 5443
ENTRYPOINT ["/usr/local/bin/ejabberdctl"] ENTRYPOINT ["/usr/local/bin/ejabberdctl"]