Skip to content

Commit

Permalink
Merge pull request #26 from hgterra/patch-1
Browse files Browse the repository at this point in the history
Allow caddy container to start if stalwart container is in the stack
  • Loading branch information
szaimen authored Feb 13, 2024
2 parents fc89b02 + 99abf10 commit c218650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c218650

Please sign in to comment.