-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env.example
76 lines (58 loc) · 2.11 KB
/
.env.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# ---------------------------------------------------- #
# Enviroment variables for the application (SECRET_KEY)
# ---------------------------------------------------- #
SECRET_KEY=
# ---------------------------------------------------- #
# Admin URL (ADMIN_URL)
# ---------------------------------------------------- #
# ADMIN_URL=
# ---------------------------------------------------- #
# (ex: "example.com example2.com ...")
# ---------------------------------------------------- #
ALLOWED_HOSTS="127.0.0.1 localhost"
# --------------------------------- #
# Enviroment variables for database
# --------------------------------- #
# "TYPE_DATABASE" ex: postgresql | sqlite3 | mysql ...
TYPE_DATABASE=sqlite3
# "ENGINE" ex: if TYPE_DATABASE=postgresql then ENGINE=django.db.backends.postgresql
DB_ENGINE=django.db.backends.postgresql
DB_NAME=
DB_USER=
DB_PASSWORD=
DB_HOST=
DB_PORT=
# -------------------------------------- #
# Environment variable for sending emails
# -------------------------------------- #
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_HOST_USER=
EMAIL_HOST_PASSWORD=
EMAIL_PORT=587
EMAIL_USE_TLS=True
# -------------------------------------- #
# Environment variable for Redis
# -------------------------------------- #
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# -------------------------------------- #
# Environment variable for cloudinary
# -------------------------------------- #
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
# -------------------------------------- #
# The list of origins allowed to make http requests separated by space (ex: "http://localhost:3000 http://127.0.0.1:3000")
# -------------------------------------- #
CORS_ALLOWED_ORIGINS="http://localhost:3000 http://127.0.0.1:3000"
# -------------------------------------- #
# DOMAIN NAME FRONTEND (ex: localhost:3000)
# -------------------------------------- #
DOMAIN_FRONTEND=http://localhost:3000
# -------------------------------------- #
# Environment variable for Google OAuth
# -------------------------------------- #
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=