NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Compose] Rename fail2ban to netfilter; Add SNAT option; New PHP-FPM image

fd849681
andre.peters <[email protected]> 8 years ago
docker-compose.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Diff

diff --git a/docker-compose.yml b/docker-compose.yml
index 4a6a53de..edebff71 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -91,7 +91,7 @@ services:
             - rspamd
 
     php-fpm-mailcow:
-      image: mailcow/phpfpm:1.9
+      image: mailcow/phpfpm:1.10
       build: ./data/Dockerfiles/phpfpm
       command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
       depends_on:
@@ -287,9 +287,9 @@ services:
           aliases:
             - acme
 
-    fail2ban-mailcow:
-      image: mailcow/fail2ban:1.11
-      build: ./data/Dockerfiles/fail2ban
+    netfilter-mailcow:
+      image: mailcow/netfilter:1.11
+      build: ./data/Dockerfiles/netfilter
       stop_grace_period: 30s
       depends_on:
         - dovecot-mailcow
@@ -301,8 +301,8 @@ services:
       privileged: true
       environment:
         - TZ=${TZ}
-        - SKIP_FAIL2BAN=${SKIP_FAIL2BAN:-n}
         - IPV4_NETWORK=${IPV4_NETWORK}
+        - SNAT_TO_SOURCE=${SNAT_TO_SOURCE:-n}
       network_mode: "host"
       dns:
         - ${IPV4_NETWORK}.254