From 64c12d50bc99a4d00e2603e9155ebd93f2c08f03 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 7 Jan 2021 16:48:08 +0100 Subject: [PATCH] [Config] Fix binding problems with IPv6 in newer Docker versions --- docker-compose.yml | 4 ++-- generate_config.sh | 6 ++++-- update.sh | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4c6ce032..4733b820 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -336,8 +336,8 @@ services: - ./data/conf/rspamd/meta_exporter:/meta_exporter:ro,z - sogo-web-vol-1:/usr/lib/GNUstep/SOGo/:z ports: - - "${HTTPS_BIND:-0.0.0.0}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}" - - "${HTTP_BIND:-0.0.0.0}:${HTTP_PORT:-80}:${HTTP_PORT:-80}" + - "${HTTPS_BIND:-:}:${HTTPS_PORT:-443}:${HTTPS_PORT:-443}" + - "${HTTP_BIND:-:}:${HTTP_PORT:-80}:${HTTP_PORT:-80}" restart: always networks: mailcow-network: diff --git a/generate_config.sh b/generate_config.sh index 16a040c7..52670300 100755 --- a/generate_config.sh +++ b/generate_config.sh @@ -143,12 +143,14 @@ DBROOT=$(LC_ALL=C