forked from frg-fossee/eSim-Cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
55 lines (43 loc) · 1.23 KB
/
.env
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
#Django Config Variables
PYTHONUNBUFFERED=True
DJANGO_DEBUG=True
# Django DB_Engine Config
# Make sure settings correspond MYSQL or POSTGRES Config
SQL_ENGINE=django.db.backends.postgresql
SQL_PORT=5432
SQL_HOST=db
SQL_DATABASE=esimcloud_db
SQL_USER=user
SQL_PASSWORD=password
#POSTGRES Config ( Only if Postgres is being used as a backend )
# Make sure SQL_ENGINE is set to django.db.backends.postgresql
# SQL_PORT is set to 5432
POSTGRES_DB=esimcloud_db
POSTGRES_USER=user
POSTGRES_PASSWORD=password
# MYSQL Config
# Make sure SQL_ENGINE is set to django.db.backends.mysql
# SQL_PORT is set to 3306
MYSQL_DATABASE=esimcloud_db
MYSQL_USER=user
MYSQL_PASSWORD=password
MYSQL_ROOT_PASSWORD=password
#Docker Image Version Tags
TAG_MYSQL=8.0
TAG_REDIS=alpine3.11
#Production Config
GUNICORN_WORKERS=5
CELERY_WORKERS=5
EDA_PUBLIC_URL=http://localhost/eda
ARDUINO_BASE_HREF=/arduino/
# Authentication
POST_ACTIVATE_REDIRECT_URL=http://localhost/
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY=yourkeyhere
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET=yoursecrethere
GOOGLE_OAUTH_REDIRECT_URI=http://localhost/api/auth/google-callback
# Email Service
EMAIL_HOST=smtp.gmail.com
EMAIL_HOST_USER=youremail@gmail.com
EMAIL_HOST_PASSWORD=yourpassword
EMAIL_PORT=587
EMAIL_USE_TLS=True