Add Volumes
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
This commit is contained in:
@ -24,13 +24,20 @@ COPY worker-controller.inc /etc/rspamd/override.d/
|
|||||||
COPY worker-proxy.inc /etc/rspamd/override.d/
|
COPY worker-proxy.inc /etc/rspamd/override.d/
|
||||||
|
|
||||||
# Keep database and configuration persistent
|
# Keep database and configuration persistent
|
||||||
|
VOLUME /hooks
|
||||||
|
VOLUME /etc/rspamd/custom
|
||||||
|
VOLUME /etc/rspamd/override.d
|
||||||
VOLUME /etc/rspamd/local.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
|
VOLUME /var/lib/rspamd
|
||||||
|
|
||||||
# Port 11334 is for web frontend
|
# Port 11334 is for web frontend
|
||||||
# Port 11332 is for milter
|
# Port 11332 is for milter
|
||||||
# Port 11333 is for worker
|
# Port 11333 is for worker
|
||||||
EXPOSE 11332 11334
|
EXPOSE 11332 11333 11334
|
||||||
|
|
||||||
# Healtcheck if Rspamd is returning stats
|
# Healtcheck if Rspamd is returning stats
|
||||||
HEALTHCHECK --interval=1m --timeout=5s --start-period=10s \
|
HEALTHCHECK --interval=1m --timeout=5s --start-period=10s \
|
||||||
|
Reference in New Issue
Block a user