-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenv.json
115 lines (115 loc) · 2.85 KB
/
env.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"packagePath": "bean_stocks",
"projectName": "bean_stocks",
"environment": "local",
"secret": "gYVa2GgdDYbR6R4AFnk5y2aU0sQirNII",
"debugLogPath": "",
"accessLog": {
"on": true,
"bodyDump": true,
"path": "",
"bodyDumpMaskParam": []
},
"prometheus": {
"on": false,
"skipEndpoints": ["/ping", "/route/stats"]
},
"http": {
"port": "8888",
"host": "0.0.0.0",
"bodyLimit": "1M",
"isHttpsRedirect": false,
"timeout": "24s",
"keepAlive": true,
"allowedMethod": ["DELETE", "GET", "POST", "PUT"],
"ssl": {
"on": false,
"certFile": "",
"privFile": "",
"minTLSVersion": 1
}
},
"html": {
"viewsTemplateCache": false
},
"database": {
"tenant": {
"on": false
},
"mysql": {
"master": {
"database": "local",
"username": "root",
"password": "root",
"host": "127.0.0.1",
"port": "65535"
},
"maxIdleConnections": 20,
"maxOpenConnections": 30,
"maxConnectionLifeTime": "600s",
"debug": true
},
"mongo": {
"master": {
"database": "",
"username": "",
"password": "",
"host": "127.0.0.1",
"port": "27017"
},
"connectTimeout": "10s",
"maxConnectionPoolSize": 200,
"maxConnectionLifeTime": "600s"
},
"redis": {
"master": {
"database": 0,
"password": "",
"host": "127.0.0.1",
"port": "6379"
},
"prefix": "bean_stocks_cache",
"maxretries": 2
},
"badger": {
"path": "",
"inMemory": true
}
},
"queue": {
"redis": {
"password": "64vc7632-62dc-482e-67fg-046c7faec493",
"host": "127.0.0.1",
"port": "6379",
"name": 3,
"prefix": "bean_stocks_queue",
"poolsize": 100,
"maxidle": 2
},
"health": {
"port": "7777",
"host": "0.0.0.0"
}
},
"jwt": {
"expiration": "86400s"
},
"sentry": {
"on": false,
"debug": false,
"dsn": "",
"timeout": "5s",
"tracesSampleRate": 0.2
},
"security": {
"http": {
"header": {
"xssProtection": "1; mode=block",
"contentTypeNosniff": "nosniff",
"xFrameOptions": "SAMEORIGIN",
"hstsMaxAge": 31536000,
"contentSecurityPolicy": ""
}
}
}
}