From d2048ccf2047f7ecdc878261d69a465e1109a340 Mon Sep 17 00:00:00 2001 From: andryyy Date: Thu, 29 Jun 2017 21:22:01 +0200 Subject: [PATCH] [ACME] Be more verbose about IP address --- data/Dockerfiles/acme/docker-entrypoint.sh | 6 +++--- docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/Dockerfiles/acme/docker-entrypoint.sh b/data/Dockerfiles/acme/docker-entrypoint.sh index bbfe0cba..97b633f7 100755 --- a/data/Dockerfiles/acme/docker-entrypoint.sh +++ b/data/Dockerfiles/acme/docker-entrypoint.sh @@ -79,7 +79,7 @@ while true; do echo "Confirmed A record autoconfig.${SQL_DOMAIN}" VALIDATED_CONFIG_DOMAINS+=("autoconfig.${SQL_DOMAIN}") else - echo "Cannot match your IP against hostname autoconfig.${SQL_DOMAIN}" + echo "Cannot match your IP ${IPV4} against hostname autoconfig.${SQL_DOMAIN} (${A_CONFIG})" fi else echo "No A record for autoconfig.${SQL_DOMAIN} found" @@ -92,7 +92,7 @@ while true; do echo "Confirmed A record autodiscover.${SQL_DOMAIN}" VALIDATED_CONFIG_DOMAINS+=("autodiscover.${SQL_DOMAIN}") else - echo "Cannot match your IP against hostname autodiscover.${SQL_DOMAIN}" + echo "Cannot match your IP ${IPV4} against hostname autodiscover.${SQL_DOMAIN} (${A_DISCOVER})" fi else echo "No A record for autodiscover.${SQL_DOMAIN} found" @@ -106,7 +106,7 @@ while true; do echo "Confirmed A record ${MAILCOW_HOSTNAME}" VALIDATED_MAILCOW_HOSTNAME=${MAILCOW_HOSTNAME} else - echo "Cannot match your IP against hostname ${MAILCOW_HOSTNAME}" + echo "Cannot match your IP ${IPV4} against hostname ${MAILCOW_HOSTNAME} (${A_MAILCOW_HOSTNAME}) " fi else echo "No A record for ${MAILCOW_HOSTNAME} found" diff --git a/docker-compose.yml b/docker-compose.yml index 9157b950..a7d7f915 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -293,7 +293,7 @@ services: acme-mailcow: depends_on: - nginx-mailcow - image: mailcow/acme:1.7 + image: mailcow/acme:1.8 build: ./data/Dockerfiles/acme dns: - 172.22.1.254