BREAKING CHANGE: set the password during deploy

This commit is contained in:
f 2023-01-07 15:45:23 -03:00
parent 112c920990
commit b40a0bf24e

View file

@ -26,8 +26,6 @@ COPY ./logging.inc /etc/rspamd/local.d/logging.inc
COPY ./classifier-bayes.conf /etc/rspamd/local.d/classifier-bayes.conf COPY ./classifier-bayes.conf /etc/rspamd/local.d/classifier-bayes.conf
COPY ./local_addrs /etc/rspamd/local.d/maps.d/local_addrs COPY ./local_addrs /etc/rspamd/local.d/maps.d/local_addrs
COPY ./monit.conf /etc/monit.d/rspamd.conf COPY ./monit.conf /etc/monit.d/rspamd.conf
# We don't really care about the password...
RUN echo "password = \"`rspamadm pw -p '12345678'`\";" >> /etc/rspamd/local.d/worker-controller.inc
EXPOSE 11332 EXPOSE 11332
EXPOSE 11333 EXPOSE 11333