This repository has been archived by the owner on May 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.dist
120 lines (92 loc) · 3.67 KB
/
.env.dist
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# Copyright (C) 2021 Serghei Iakovlev <egrep@protonmail.ch>
#
# This file is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3
# of the License, or (at your option) any later version.
#
# This file is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this file. If not, see <https://www.gnu.org/licenses/>.
# SECURITY WARNING: don't run with the debug turned on in production!
DEBUG=False
# Should robots.txt allow everything to be crawled?
ALLOW_ROBOTS=False
# Comma-separated list
ALLOWED_HOSTS=.localhost,127.0.0.1,[::1]
# Comma-separated list
INTERNAL_IPS=.localhost,127.0.0.1,[::1]
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY=secret
# Redirect all non-HTTPS requests to HTTPS (except for those URLs matching a
# regular expression listed in SECURE_REDIRECT_EXEMPT).
SECURE_SSL_REDIRECT=False
# Add the 'includeSubDomains' directive to the HTTP Strict Transport Security
# header.
SECURE_HSTS_SECONDS=3600
# Add the 'includeSubDomains' directive to the HTTP Strict Transport Security
# header.
SECURE_HSTS_INCLUDE_SUBDOMAINS=False
# Add the 'preload' directive to the HTTP Strict Transport Security header.
SECURE_HSTS_PRELOAD=False
# Whether to use a secure cookie for the session cookie. If this is set to
# True, the cookie will be marked as "secure", which means browsers may ensure
# that the cookie is only sent under an HTTPS connection.
SESSION_COOKIE_SECURE=False
# Whether to use a secure cookie for the CSRF cookie. If this is set to True,
# the cookie will be marked as "secure", which means browsers may ensure that
# the cookie is only sent with an HTTPS connection.
CSRF_COOKIE_SECURE=False
# See ``help(environ.Env.db_url_config)``
DATABASE_URL=sqlite:///storage/db/db.sqlite3
# SMTP configuration.
# Example: smtp+tls://user@gmail.com:password@smtp.gmail.com:587
EMAIL_URL=dummymail://
# Example: django.core.mail.backends.smtp.EmailBackend
EMAIL_BACKEND=
USE_SSL=False
# Change admin site URL. Do not use leading slash here.
ADMIN_SITE_URL=admin
# A list of all the people who get code error notifications.
# Example: "Blake <blake@cyb.org>, Alice Judge <alice@cyb.org>"
ADMINS=""
# A list of all the people who should get broken link notifications.
# Example: "Blake <blake@cyb.org>, Alice Judge <alice@cyb.org>"
MANAGERS=""
# A string representing the time zone for the project.
TIME_ZONE=UTC
# By default, Django will send system email from root@localhost.
# However, some mail providers reject all email from this address.
SERVER_EMAIL=root@localhost
CONTACT_EMAIL=root@localhost
# Googl Analytics
GA_TRACKING_ID=
# Caches
CACHE_URL=dummycache://
# Celery related variables.
# For more see: branch.celeryconfig
CELERY_USE_SSL=False
CELERYD_CONCURRENCY=1
CELERYD_POOL=prefork
# Example: redis://localhost:6379/0
CELERY_RESULT_BACKEND=
CELERY_ALWAYS_EAGER=True
# Example: redis://localhost:6379/0
BROKER_URL=
BROKER_CONNECTION_TIMEOUT=4.0
# If compression should be done outside of the request/response loop.
COMPRESS_OFFLINE=False
# reCAPTCHA
# For more see: https://www.google.com/recaptcha/about/
RECAPTCHA_PUBLIC_KEY=MyRecaptchaKey123
RECAPTCHA_PRIVATE_KEY=MyRecaptchaPrivateKey456
# Logging
LOG_FILE=./storage/logs/app.log
# Django. # Used to set log level for django loggers
DJANGO_LOG_LEVEL=INFO
# Application log level. Used to set log level for project apps.
APP_LOG_LEVEL=INFO