You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a strongly opinionated AnonAddy Docker + Traefik config template that provides some production quality features.
2
+
Note that you must further tweak the configuration and then run Docker in Swarm mode to ensure e.g. encrypted network traffic and scaling for serious production usage.
3
+
You should also use something like Hashicorp Vault to protect any secrets as Docker secret files are still stored in plain text on the filesystem as well as disable root user access in containers.
4
+
5
+
## Features
6
+
- Automatic creation of ACME SSL Wildcard Certificates using DNS Challenge resolver
7
+
-[Tecnativa's Docker Socket Proxy](https://github.com/Tecnativa/docker-socket-proxy) (reduce risk of Docker socket exposure)
8
+
- Automatic Postfix TLS management using [traefik-certs-dumper](https://github.com/kereis/traefik-certs-dumper)
9
+
- Auto-dumping of Let's Encrypt certificates to Postfix cert directory
10
+
- Watch & restart AnonAddy container on certificate renewal
11
+
- Hardened TLS cipher configuration
12
+
- Watchtower for automatic AnonAddy container updates upon new release
13
+
- CrowdSec with Traefik bouncer for SPAM detection and mitigation. Please refer to the [CrowdSec documentation](https://docs.crowdsec.net/docs/getting_started/install_crowdsec) for initial setup instructions.
14
+
- Enabled Rspamd and exposed Web UI (also covered by CrowdSec bouncer)
15
+
16
+
**Note**: Does not ensure Zero Downtime deployment!
17
+
18
+
## Usage
19
+
20
+
Use these files for full SMTP(D) TLS/ DKIM/ DMARC/ PGP signing functionalities. \
21
+
22
+
```bash
23
+
mkdir letsencrypt
24
+
touch letsencrypt/acme.json
25
+
chmod 600 letsencrypt/acme.json
26
+
docker-compose up -d
27
+
docker-compose logs -f
28
+
```
29
+
30
+
You will also need to create secret files containing the DNS Challenge provider credentials. For more information, please refer to the [Traefik Docs](https://doc.traefik.io/traefik/https/acme/#providers).
0 commit comments