Run the rspamd controller

master
Pierre Jaury 9 years ago
parent b5e68a41cb
commit 5c5e3d5d2f

@ -2,9 +2,12 @@ FROM alpine:edge
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \ RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
&& apk add --update \ && apk add --update \
rspamd@testing rsyslog \ rspamd@testing \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
RUN mkdir /run/rspamd RUN mkdir /run/rspamd
CMD ["rspamd", "-f", "-i"] COPY conf/ /etc/rspamd
COPY start.sh /start.sh
CMD ["/start.sh"]

@ -0,0 +1,11 @@
worker {
bind_socket = "0.0.0.0:11334";
type = "controller";
count = 1;
password = "q1";
secure_ip = "127.0.0.1";
secure_ip = "::1";
static_dir = "${WWWDIR}";
.include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/worker-controller.inc"
.include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-controller.inc"
}
Loading…
Cancel
Save