From 1357c1cb3d6b5c46c96dfd2ee25a2a60bccc5092 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 6 Dec 2016 17:19:26 +0100 Subject: Add single user mode --- .env.production.sample | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to '.env.production.sample') diff --git a/.env.production.sample b/.env.production.sample index 52d519570..fa1ea8338 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -16,6 +16,12 @@ LOCAL_HTTPS=true PAPERCLIP_SECRET= SECRET_KEY_BASE= +# Registrations +# Single user mode will disable registrations and redirect frontpage to the first profile +# SINGLE_USER_MODE=true +# Prevent registrations with following e-mail domains +# EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc + # E-mail configuration SMTP_SERVER=smtp.mailgun.org SMTP_PORT=587 @@ -27,8 +33,11 @@ SMTP_FROM_ADDRESS=notifications@example.com # CDN_HOST=assets.example.com # S3 (optional) -S3_ENABLED=false -S3_BUCKET= -AWS_ACCESS_KEY_ID= -AWS_SECRET_ACCESS_KEY= -S3_REGION= +# S3_ENABLED=true +# S3_BUCKET= +# AWS_ACCESS_KEY_ID= +# AWS_SECRET_ACCESS_KEY= +# S3_REGION= + +# Optional alias for S3 if you want to use Cloudfront or Cloudflare in front +# S3_CLOUDFRONT_HOST= -- cgit