-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.template
37 lines (33 loc) · 1.04 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ALLOW_ORIGINS=*
DATABASE_URL=postgres+asyncpg://user:password@host/db_name
TRUSTED_HOST=localhost
SECRET_KEY=PRODUCTION-SECRET-KEY
# Optional
G_TAG=G-TAG
# Email settings
EMAIL_HOST_USER=host-user
EMAIL_HOST=email-host
EMAIL_API_KEY=secret-api-key
# Broker
REDISCLOUD_URL=redis://user:password@host:6379
# Logging
# Optional, if not set alerts will not be fired.
# To activate do not forget about feature flag ENABLE_SENTRY, which is False by default.
SENTRY_DSN=https://password@host/project
# Can be development, staging or production only
# Default value is production.
SENTRY_ENVIRONMENT=production
#####
# Feature Flags
# All Feature Flags are optional and false by default.
#####
# 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
# Enable Sentry Logging
# Requires SENTRY_DSN environment variable to set.
ENABLE_SENTRY=false