-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.local.prod.example
52 lines (44 loc) · 1.53 KB
/
.env.local.prod.example
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
# Django
# ------------------------------------------------------------------------------
DJANGO_SETTINGS_MODULE=core.settings.prod
DJANGO_SECRET_KEY=ASNtVXSnyrTIs949YthWdQziEw31er
# **WARNING** Do not run DEBUG true in production!
DJANGO_DEBUG=false
DJANGO_ADMIN_EMAIL=admin@hotmail.com
DJANGO_ADMIN_PASSWORD=admin
DJANGO_SWAGGER_SERVE_PUBLIC=false
DJANGO_ADMIN_URL=/secretadminurl/
DJANGO_SITE_DOMAIN=localhost:8000
DJANGO_SITE_DISPLAY=localhost
DJANGO_ALLOWED_HOSTS=*
DJANGO_CORS_ALLOW_ALL_ORIGINS=false
DJANGO_CORS_ORIGIN_WHITELIST=https://localhost,https://127.0.0.1
DJANGO_SECURE_SSL_REDIRECT=true
DJANGO_SESSION_COOKIE_SECURE=true
DJANGO_CSRF_COOKIE_SECURE=true
DJANGO_JWT_AUTH_SECURE=true
DJANGO_JWT_VERIFY_KEY=publickey
DJANGO_JWT_KEY=privatekey
DATABASE_URL=postgres://dbusername:dbpassword@localhost:5432/dbname
# DJANGO_CONN_MAX_AGE=60
DJANGO_EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
DJANGO_EMAIL_HOST=smtp.gmail.com
DJANGO_EMAIL_PORT=587
DJANGO_EMAIL_USE_SSL=false
DJANGO_EMAIL_USE_TLS=true
DJANGO_DEFAULT_FROM_EMAIL=noreply@gmail.com
DJANGO_SERVER_EMAIL=noreply@gmail.com
DJANGO_EMAIL_HOST_USER=example@gmail.com
DJANGO_EMAIL_HOST_PASSWORD=password
DJANGO_EMAIL_SUBJECT_PREFIX=[peam-backend]
# PostgreSQL
# ------------------------------------------------------------------------------
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DB=dbname
POSTGRES_USER=dbusername
POSTGRES_PASSWORD=dbpassword
# Gunicorn
# ------------------------------------------------------------------------------
GUNICORN_WORKERS=1
GUNICORN_THREADS=5