diff --git a/docker/images/config.env b/docker/images/config.env index 15474b764..cc843cda5 100644 --- a/docker/images/config.env +++ b/docker/images/config.env @@ -33,10 +33,10 @@ PENPOT_SMTP_DEFAULT_REPLY_TO=no-reply@example.com # PENPOT_SMTP_USERNAME= # PENPOT_SMTP_PASSWORD= # PENPOT_SMTP_TLS=true -# PENPOT_SMTP_SSL=false +# PENPOT_SMTP_SSL=false # Flags that enables features on frontend applitation. -PENPOT_FRONTEND_FLAGS="enable-registration enable-demo-users" +PENPOT_FLAGS="enable-registration enable-demo-users" # Comma separated list of allowed domains to register. Empty to allow all. # PENPOT_REGISTRATION_DOMAIN_WHITELIST="" diff --git a/docker/images/files/nginx-entrypoint.sh b/docker/images/files/nginx-entrypoint.sh index 53328434c..270b7e26a 100644 --- a/docker/images/files/nginx-entrypoint.sh +++ b/docker/images/files/nginx-entrypoint.sh @@ -68,9 +68,9 @@ update_registration_enabled() { } update_flags() { - if [ -n "$PENPOT_FRONTEND_FLAGS" ]; then + if [ -n "$PENPOT_FLAGS" ]; then sed -i \ - -e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FRONTEND_FLAGS\";|g" \ + -e "s|^//var penpotFlags = .*;|var penpotFlags = \"$PENPOT_FLAGS\";|g" \ "$1" fi }