From e941c6e8b2dfbbf6e04d6d0633e966c50b0df117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= Date: Fri, 19 Oct 2018 10:03:05 +0200 Subject: [PATCH] [ACME] Fix missing for loop start [Compose] New ACME image --- data/Dockerfiles/acme/docker-entrypoint.sh | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/acme/docker-entrypoint.sh b/data/Dockerfiles/acme/docker-entrypoint.sh index e6778a1b..c75d4c54 100755 --- a/data/Dockerfiles/acme/docker-entrypoint.sh +++ b/data/Dockerfiles/acme/docker-entrypoint.sh @@ -179,6 +179,7 @@ while true; do SQL_DOMAIN_ARR+=("${domains}") done < <(mysql --socket=/var/run/mysqld/mysqld.sock -u ${DBUSER} -p${DBPASS} ${DBNAME} -e "SELECT domain FROM domain WHERE backupmx=0" -Bs) + for SQL_DOMAIN in "${SQL_DOMAIN_ARR[@]}"; do A_DISCOVER=$(dig A autodiscover.${SQL_DOMAIN} +short | tail -n 1) AAAA_DISCOVER=$(dig AAAA autodiscover.${SQL_DOMAIN} +short | tail -n 1) # Check if CNAME without v6 enabled target diff --git a/docker-compose.yml b/docker-compose.yml index d8102b1d..4674d0f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -287,7 +287,7 @@ services: acme-mailcow: depends_on: - nginx-mailcow - image: mailcow/acme:1.42 + image: mailcow/acme:1.43 build: ./data/Dockerfiles/acme dns: - ${IPV4_NETWORK:-172.22.1}.254