Add single user mode

This commit is contained in:
Eugen Rochko 2016-12-06 17:19:26 +01:00
parent 84d2371d6a
commit 1357c1cb3d
4 changed files with 25 additions and 8 deletions

View file

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