File size: 1,141 Bytes
b7a7f32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
MODE: docker
PROJECT_NAME : Sikshyalaya
SERVER_NAME : Sikshyalaya

PROTOCAL : http
BACKEND_HOST : localhost
BACKEND_PORT : 8080
API_V1_STR : "/api/v1"

WORKERS : 16

FIRST_SUPERUSER : "[email protected]"
FIRST_SUPERUSER_PASSWORD : "password"

SECRET_KEY : 28472B4B6250655368566D5971337436763979244226452948404D635166546A

SESSION_EXPIRE_TIME : 3600
SESSION_EXPIRE_TIME_EXTENDED : 2592000

FRONTEND_HOST : localhost
FRONTEND_PORT : 3001

STATIC_HOST : localhost
STATIC_PORT : 8081

UPLOAD_DIR_ROOT : ../file_server

BACKEND_CORS_ORIGINS :
  - http://localhost:3001
  - http://localhost

ALLOWED_EMAIL_HOST:
  - ku.edu.np
  - student.ku.edu.np
  - gmail.com
  - test.local

POSTGRES_SERVER : postgres
POSTGRES_USER : postadmin
POSTGRES_PASSWORD : postpass
POSTGRES_DB : sikshyalaya

REDIS_HOST : redis
REDIS_PORT : 6379
REDIS_PASSWORD : redispass

SMTP_TLS : False
SMTP_PORT : 1025
SMTP_HOST : mailhog
SMTP_USER : smptuser
SMTP_PASSWORD : smtppass

EMAILS_FROM_EMAIL : "[email protected]"
EMAIL_RESET_TOKEN_EXPIRE_HOURS : 48
EMAIL_VERIFY_EXPIRE_HOURS : 48
EMAIL_TEMPLATES_DIR : templates/email-templates/

USERS_OPEN_REGISTRATION : True