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

Fixed IP for Redis, fail2ban-mailcow: pass TZ env var

fdc98f84
andryyy <[email protected]> 9 years ago
docker-compose.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Diff

diff --git a/docker-compose.yml b/docker-compose.yml
index 98643cbd..719d4a9a 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -61,6 +61,7 @@ services:
       dns_search: mailcow-network
       networks:
         mailcow-network:
+          ipv4_address: 172.22.1.249
           aliases:
             - redis
 
@@ -318,11 +319,13 @@ services:
         - sogo-mailcow
         - php-fpm-mailcow
       restart: always
+      privileged: true
+      environment:
+        - TZ=${TZ}
+      network_mode: "host"
       dns:
         - 172.22.1.254
       dns_search: mailcow-network
-      privileged: true
-      network_mode: "host"
       volumes:
         - /var/run/docker.sock:/var/run/docker.sock:ro
         - /lib/modules:/lib/modules:ro