Merge pull request #311 from mkuron/fail2ban

Fail2ban-like authentication rate limiting for Postfix, Dovecot and SOGo
This commit is contained in:
André Peters authored and GitHub committed 2017-05-25 10:58:14 +02:00
commit 8c73b8eb5f
3 files changed
+125

No files matched your search

+14
View File
@@ -266,6 +266,20 @@ services:
aliases:
- nginx
fail2ban-mailcow:
image: mailcow/fail2ban
build: ./data/Dockerfiles/fail2ban
depends_on:
- dovecot-mailcow
- postfix-mailcow
- sogo-mailcow
restart: always
privileged: true
network_mode: "host"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /lib/modules:/lib/modules:ro
ipv6nat:
image: robbertkl/ipv6nat
restart: always