diff --git a/Stable2.0/Dockerfile b/Stable2.0/Dockerfile index f5135e8..575b6ba 100644 --- a/Stable2.0/Dockerfile +++ b/Stable2.0/Dockerfile @@ -24,13 +24,20 @@ COPY worker-controller.inc /etc/rspamd/override.d/ COPY worker-proxy.inc /etc/rspamd/override.d/ # Keep database and configuration persistent +VOLUME /hooks +VOLUME /etc/rspamd/custom +VOLUME /etc/rspamd/override.d VOLUME /etc/rspamd/local.d +VOLUME /etc/rspamd/plugins.d +VOLUME /etc/rspamd/lua/ +VOLUME /etc/rspamd/rspamd.conf.local +VOLUME /etc/rspamd/rspamd.conf.override VOLUME /var/lib/rspamd # Port 11334 is for web frontend # Port 11332 is for milter # Port 11333 is for worker -EXPOSE 11332 11334 +EXPOSE 11332 11333 11334 # Healtcheck if Rspamd is returning stats HEALTHCHECK --interval=1m --timeout=5s --start-period=10s \