|
@@ -9,23 +9,23 @@
|
|
},
|
|
},
|
|
"urls": "https://*:5000",
|
|
"urls": "https://*:5000",
|
|
"GrpcServer": {
|
|
"GrpcServer": {
|
|
- //用于grpc启动后注册到服务发现的ip地址段
|
|
|
|
|
|
+ //蚚衾grpc雄綴蛁聊善督昢楷珋腔ip華硊僇
|
|
"ServiceAddress": "*.*.*.*:",
|
|
"ServiceAddress": "*.*.*.*:",
|
|
- //是否启用服务注册和服务发现,默认是true
|
|
|
|
|
|
+ //岆瘁蚚督昢蛁聊睿督昢楷珋,蘇岆true
|
|
"EnableDiscovery": false,
|
|
"EnableDiscovery": false,
|
|
- //服务发现服务器地址
|
|
|
|
|
|
+ //督昢楷珋督昢華硊
|
|
"DiscoveryUrl": "http://106.12.23.251:8500",
|
|
"DiscoveryUrl": "http://106.12.23.251:8500",
|
|
- //注册到服务发现的服务名称
|
|
|
|
|
|
+ //铔佽亰鍠勭潱鏄㈡シ鐝嬭厰鐫f槩闈″倷
|
|
"DiscoveryServiceName": "TMDOSgRPC",
|
|
"DiscoveryServiceName": "TMDOSgRPC",
|
|
- //服务发现主动TTL的时间(秒)
|
|
|
|
|
|
+ //督昢楷珋翋雄TTL腔奀潔(鏃)
|
|
"DiscoveryTTLInterval": 10,
|
|
"DiscoveryTTLInterval": 10,
|
|
- //注册到服务发现的服务Tag
|
|
|
|
|
|
+ //铔佽亰鍠勭潱鏄㈡シ鐝嬭厰鐫f槩Tag
|
|
"DiscoveryServiceTags": "v-1.0.0.1",
|
|
"DiscoveryServiceTags": "v-1.0.0.1",
|
|
- //默认错误码
|
|
|
|
|
|
+ //蘇渣昫鎢
|
|
"DefaultErrorCode": 4300000,
|
|
"DefaultErrorCode": 4300000,
|
|
- //Jaeger配制(OpenTracing)
|
|
|
|
|
|
+ //Jaeger楗滅Ф(OpenTracing)
|
|
"Jaeger": {
|
|
"Jaeger": {
|
|
- //是否启用Jaeger,默认false
|
|
|
|
|
|
+ //宀嗙榿餃勮殮Jaeger,铇囷牂false
|
|
"Enable": false,
|
|
"Enable": false,
|
|
"AgentIp": "192.168.8.11",
|
|
"AgentIp": "192.168.8.11",
|
|
"AgentPort": 5775
|
|
"AgentPort": 5775
|
|
@@ -43,8 +43,7 @@
|
|
"ConnectionString": "https://192.168.8.128:8081",
|
|
"ConnectionString": "https://192.168.8.128:8081",
|
|
"ConnectionKey": "ddwAeGSf8Lsf1kxPXmdqnyzzi3CkJ0KW2BTPZ7Zq1N7qbJic5j7AaQ+WbF86F3rnzuDgGM1yg8O7BUFo93iA8w==",
|
|
"ConnectionKey": "ddwAeGSf8Lsf1kxPXmdqnyzzi3CkJ0KW2BTPZ7Zq1N7qbJic5j7AaQ+WbF86F3rnzuDgGM1yg8O7BUFo93iA8w==",
|
|
"Database": "TEAMModelOS",
|
|
"Database": "TEAMModelOS",
|
|
- "CollectionThroughput": 400,
|
|
|
|
- "ScanModel": [ "TEAMModelOS.Service" ]
|
|
|
|
|
|
+ "CollectionThroughput": 400
|
|
},
|
|
},
|
|
"Redis": {
|
|
"Redis": {
|
|
"ConnectionString": "106.12.23.251:6379,password=habook,ssl=false,abortConnect=False,defaultDatabase=13,writeBuffer=10240,poolsize=50,prefix=habook:"
|
|
"ConnectionString": "106.12.23.251:6379,password=habook,ssl=false,abortConnect=False,defaultDatabase=13,writeBuffer=10240,poolsize=50,prefix=habook:"
|