-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.sample
56 lines (42 loc) · 2.09 KB
/
env.sample
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Environment-based settings; copy this file to .env in project root and edit as needed
# Whether the application runs in debug mode or not
DEBUG=true
# Set a unique secret key for the project, required for running outside DEBUG mode
# SECRET_KEY=
# Log level (default is INFO, DEBUG is very verbose)
# LOG_LEVEL=INFO
# Allowed hosts (list of comma-separated host names, or asterisk to match all hosts), only needed if DEBUG is false
# ALLOWED_HOSTS=
# Database URL to use (for local testing with SQLite use sqlite:///sqlite.db)
# To avoid nasty surprises when deploying, use the same database engine on production and in local development/testing
DATABASE_URL=sqlite:///sqlite.db
# E-mail backend to use, defaults to "smtp" if DEBUG is false, and "console" if DEBUG is true
# EMAIL_BACKEND=console
# If sending e-mail via "smtp", you'll also want to set these
# EMAIL_HOST=
# EMAIL_HOST_USER=
# EMAIL_HOST_PASSWORD=
# EMAIL_PORT=
# EMAIL_USE_TLS=
# Access/Secret keys for Amazon S3 / SES
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# Configuration for Amazon S3; see https://django-storages.readthedocs.io/en/latest/backends/amazon-S3.html
AWS_STORAGE_BUCKET_NAME=
# If you want the uploaded files to be publicly accessible (readable) by default, uncomment this
# AWS_DEFAULT_ACL=public-read
# Celery broker (default is AMPQ)
# See https://docs.celeryproject.org/en/stable/getting-started/backends-and-brokers/index.html#broker-instructions
# CELERY_BROKER_URL=
# Backend to store results in (enable it only if you need it, for performance reasons)
# See https://docs.celeryproject.org/en/stable/getting-started/backends-and-brokers/index.html#summaries
# CELERY_BACKEND=
# In testing, it's useful to execute tasks immediately, not via celery
# CELERY_ALWAYS_EAGER=
# If Django is running behind a reverse proxy, enable this so Django can detect original host, port and protocol
# USE_X_FORWARDED_PROTO=true
# USE_X_FORWARDED_HOST=true
# USE_X_FORWARDED_PORT=true
# Request throttling (rate-limiting); see https://www.django-rest-framework.org/api-guide/throttling/
# THROTTLE_ANONYMOUS=100/hour
# THROTTLE_AUTHENTICATED=1000/hour