Merge pull request #311 from mkuron/fail2ban

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

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