From 861902531bef4dc90b22edc0d71ff371c3b24a66 Mon Sep 17 00:00:00 2001 From: chandi Date: Fri, 29 Nov 2024 18:14:36 +0100 Subject: [PATCH] ignore missing LETSENCRYPT_EMAIL in dev mode --- scripts/generate-compose | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate-compose b/scripts/generate-compose index c0b82a9..5f61bab 100755 --- a/scripts/generate-compose +++ b/scripts/generate-compose @@ -18,7 +18,7 @@ if [ -z "$EXTERNAL_IPv4" ]; then exit 1 fi -if [ "$ENABLE_HTTPS_PROXY" ] && [ -z "$LETSENCRYPT_EMAIL" ]; then +if [ "$ENABLE_HTTPS_PROXY" ] && [ -z "$LETSENCRYPT_EMAIL" ] && [ -z "$DEV_MODE" ]; then echo "ERROR: LETSENCRYPT_EMAIL is not set in .env" echo "you need to specify an email adress, otherwise the certificate" echo "retrieval will fail"