-
Notifications
You must be signed in to change notification settings - Fork 18
/
config.json
executable file
·69 lines (69 loc) · 1.43 KB
/
config.json
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
{
"port": "3000",
"adminAccount": "[email protected]",
"adminPassword":"wupang",
"timeout": 120000,
"closeRegister":true,
"db": {
"servername": "127.0.0.1",
"DATABASE": "yapi",
"port": 27017
},
"mail": {
"enable": false,
"host": "smtp.163.com",
"port": 465,
"from": "***@163.com",
"auth": {
"user": "***@163.com",
"pass": "*****"
}
},
"plugins": [
{
"name": "notifier",
"options": {
"host": "http://localhost:3000"
}
},
{
"name": "interface-oauth2-token"
},
{
"name": "add-user"
},
{
"name": "pl-auto-test",
"options": {
"host": "http://localhost:3000"
}
},
{
"name": "api-watch"
},
{
"name": "import-swagger-customize"
},
{
"name": "webhook",
"options": {
"monitor1": {
"yapiAdress": "127.0.0.1",
"yapiPort": "3000",
"url": "http://127.0.0.1:3000/api/v1",
"method": "post",
"status": true,
"events": [
"interface_add",
"interface_del",
"interface_update"
],
"desc": "监听器1"
}
}
},
{
"name": "export-schema"
}
]
}