-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathservice.json
More file actions
45 lines (45 loc) · 1.06 KB
/
service.json
File metadata and controls
45 lines (45 loc) · 1.06 KB
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
{
"global": {
"modeKey": "appenv",
"server": {
"development": {
"hostname": "ali-pre-001",
"ip": "121.41.83.91"
}
}
},
"service": {
"name": "rpcx-example",
"addr": "0.0.0.0:9999",
"logDir": "/apps/logs/go/rpcx-example",
"version": "2.0.0",
"versionKey": "app_version",
"tokenKey": "sess_token",
"signKey": "sign",
"signExpire": 60,
"signSecret": "sdsd@df!LFD",
"timeKey": "utime",
"sessionKeyPrefix": "ci_session:",
"debugValue": "debug202211",
"errorRobotToken": "",
"gracefulRobotToken": "",
"sqlRobotToken": "",
"etcd": {
"development": {
"basePath": "/app/rpcx/development",
"addr": "127.0.0.1:2379",
"updateInterval": 30
},
"gray": {
"basePath": "/app/rpcx/gray",
"addr": "127.0.0.1:2379",
"updateInterval": 30
},
"production": {
"basePath": "/app/rpcx/production",
"addr": "10.81.68.208:2379,10.81.69.65:2379,10.81.164.174:2379",
"updateInterval": 30
}
}
}
}