From fdc98f84184a46a76da143a6caf24c7cc79ad8e5 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 24 Jun 2017 00:04:50 +0200 Subject: [PATCH] Fixed IP for Redis, fail2ban-mailcow: pass TZ env var --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 98643cbd6..719d4a9ae 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