ignore missing LETSENCRYPT_EMAIL in dev mode

This commit is contained in:
chandi 2024-11-29 18:14:36 +01:00
parent 8704ec2147
commit 861902531b

View File

@ -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"