Skip to content

Commit

Permalink
Group env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
koldakov committed Feb 5, 2024
1 parent f825e60 commit e5f865f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ ALLOW_ORIGINS=*
DATABASE_URL=postgres+asyncpg://user:password@host/db_name
TRUSTED_HOST=localhost
SECRET_KEY=PRODUCTION-SECRET-KEY

# Email settings
[email protected]
EMAIL_HOST_USER=host-user
EMAIL_HOST=email-host
EMAIL_API_KEY=secret-api-key

# Feature Flags
# Determines if user creating enabled
ACTIVATE_USERS=true
# Enable HTTPS redirect behind the proxy.
# Keep in mind proxy must pass x-forwarded-proto, x-forwarded-port and host in headers.
# TRUSTED_HOST must be valid.
ENABLE_HTTPS_REDIRECT=true

0 comments on commit e5f865f

Please sign in to comment.