This commit is contained in:
@@ -74,6 +74,12 @@ require_variable GARDOMATIC_WEB_BASE_URL
|
||||
require_identifier GARDOMATIC_DB_NAME
|
||||
require_identifier GARDOMATIC_DB_USER
|
||||
|
||||
GARDOMATIC_DEMO_RESET_ENABLED=${GARDOMATIC_DEMO_RESET_ENABLED:-false}
|
||||
[[ "$GARDOMATIC_DEMO_RESET_ENABLED" == true || "$GARDOMATIC_DEMO_RESET_ENABLED" == false ]] || die "GARDOMATIC_DEMO_RESET_ENABLED must be true or false"
|
||||
if [[ "$GARDOMATIC_DEMO_RESET_ENABLED" == true ]]; then
|
||||
require_variable GARDOMATIC_DEMO_ACCOUNT_EMAIL
|
||||
fi
|
||||
|
||||
case "${GARDOMATIC_SMTP_MODE:-file}" in
|
||||
smtp)
|
||||
require_variable GARDOMATIC_SMTP_HOST
|
||||
@@ -218,6 +224,8 @@ runtime_variables=(
|
||||
GARDOMATIC_RATE_LIMIT_RPS
|
||||
GARDOMATIC_RATE_LIMIT_BURST
|
||||
GARDOMATIC_CORS_TRUSTED_ORIGINS
|
||||
GARDOMATIC_DEMO_RESET_ENABLED
|
||||
GARDOMATIC_DEMO_ACCOUNT_EMAIL
|
||||
GARDOMATIC_SMTP_MODE
|
||||
GARDOMATIC_SMTP_HOST
|
||||
GARDOMATIC_SMTP_PORT
|
||||
|
||||
Reference in New Issue
Block a user