docker: Ensure SNIKKET_ADMIN_EMAIL is also set

This commit is contained in:
Matthew Wild 2021-01-29 17:36:04 +00:00
parent b26a3eca60
commit 4278cc055f
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ if [ -z "$SNIKKET_DOMAIN" ]; then
exit 1;
fi
if [ -z "$SNIKKET_ADMIN_EMAIL" ]; then
echo "Please provide SNIKKET_ADMIN_EMAIL";
exit 1;
fi
if [ -z "$SNIKKET_SMTP_URL" ]; then
SNIKKET_SMTP_URL="smtp://localhost:1025/;no-tls"
fi