From 99abf101a0f37786e8d3f12adf44de942e822979 Mon Sep 17 00:00:00 2001 From: hgterra <159910773+hgterra@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:45:19 +0100 Subject: [PATCH] Allow caddy container to start if stalwart container is in the stack Signed-off-by: hgterra <159910773+hgterra@users.noreply.github.com> --- start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start.sh b/start.sh index 6840d36..4779ee8 100644 --- a/start.sh +++ b/start.sh @@ -50,7 +50,7 @@ https://bw.{\$NC_DOMAIN}:443 { CADDY fi -if [ -n "$(dig A +short nextcloud-aio-stalwart)" ] && ! grep -q "mail.$NC_DOMAIN" /Caddyfile; then +if [ -n "$(dig A +short nextcloud-aio-stalwart)" ] && ! grep -q "mail.{\$NC_DOMAIN}" /Caddyfile; then cat << CADDY >> /Caddyfile https://mail.{\$NC_DOMAIN}:443 { # TLS options