Fix rspamd
This commit is contained in:
13
build.sh
Executable file
13
build.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
TAG="1.5-$(date +%Y%m%d)"
|
||||
|
||||
find . -name Dockerfile | while read i; do
|
||||
dir=$(dirname $i)
|
||||
pushd ${dir}
|
||||
image="genunix/mailu-${dir}:${TAG}"
|
||||
echo "[INFO] Building $(basename $dir)"
|
||||
docker build -t ${image} .
|
||||
docker push ${image}
|
||||
popd
|
||||
done
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM alpine:3.7
|
||||
FROM alpine:edge
|
||||
|
||||
RUN apk add --no-cache python py-jinja2 rspamd rspamd-controller rspamd-proxy ca-certificates
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
type = "controller";
|
||||
bind_socket = "*:11334";
|
||||
password = "mailu";
|
||||
secure_ip = "{{ FRONT_ADDRESS }}";
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
type = "normal";
|
||||
enabled = false;
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
type = "proxy";
|
||||
bind_socket = "*:11332";
|
||||
upstream "local" {
|
||||
default = yes;
|
||||
|
||||
Reference in New Issue
Block a user