-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json.example
51 lines (51 loc) · 1.21 KB
/
config.json.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
{
"global": {
"in_development":true,
"disable_captcha": false,
"disable_mail": false,
"service_name":"CourseBench Backend",
"server_url": "http://127.0.0.1:10001",
"avatar_size_limit": 1048576,
"mail_suffix": "@shanghaitech.edu.cn"
},
"text": {
"service_name":"GeekPie_ CourseBench 评教平台",
"service_name_en":"GeekPie_ CourseBench"
},
"minio": {
"username": "course-bench",
"password": "123456",
"bucket": "course-bench",
"endpoint": "cdn.geekpie.club",
"endpoint2": "s3.geekpie.club",
"ip": ["59.78.171.210","119.78.254.2"]
},
"postgres": {
"host": "127.0.0.1",
"port": 5432,
"username": "coursebench",
"password": "123456",
"database": "coursebench"
},
"smtp": {
"address": "[email protected]",
"name": "GeekPie, ShanghaiTech University",
"service_name": "上海科技大学评教系统",
"host": "smtp.gmail.com",
"port": 465,
"username": "Geekpie",
"password": "123456"
},
"redis": {
"host": "127.0.0.1",
"port": 6379
},
"fiber": {
"listen": "127.0.0.1:10001",
"reverse_proxy_depth": 1,
"use_x_forward_for": true
},
"log": {
"log_file": "coursebench.log"
}
}