master
andryyy 2017-05-23 21:50:48 +02:00
parent 21714bd054
commit b17543f211
3 changed files with 3 additions and 11 deletions

View File

@ -16,6 +16,8 @@ RUN echo '.include $LOCAL_CONFDIR/local.d/rspamd.conf.local' > /etc/rspamd/rspam
COPY settings.conf /etc/rspamd/modules.d/settings.conf COPY settings.conf /etc/rspamd/modules.d/settings.conf
COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf COPY antivirus.conf /etc/rspamd/modules.d/antivirus.conf
COPY dkim_signing.lua /usr/share/rspamd/lua/dkim_signing.lua COPY dkim_signing.lua /usr/share/rspamd/lua/dkim_signing.lua
# Workaround
RUN rm /etc/rspamd/modules.d/fann_redis.conf
RUN apt-get autoremove --purge \ RUN apt-get autoremove --purge \
&& apt-get clean && apt-get clean

View File

@ -1,10 +0,0 @@
#!/bin/bash
set -e
if [[ ! -d "/data/dkim/txt" || ! -d "/data/dkim/keys" ]] ; then mkdir -p /data/dkim/{txt,keys} ; chown -R www-data:www-data /data/dkim; fi
if [[ $(stat -c %U /data/dkim/) != "www-data" ]] ; then chown -R www-data:www-data /data/dkim ; fi
# Migrate domain table to redis
exec "$@"

View File

@ -1 +1 @@
settings = "http://nginx:8081/settings.php"; settings = "http://172.22.1.251:8081/settings.php";