CSharp.Template/YuanXuan.IM.Api/appsettings.Development.json

29 lines
888 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"nacos": {
"Namespace": "public", //对应的是命名空间的Id
"ServerAddresses": [ "http://192.168.2.9:8848" ], //是Nacos的服务器地址可以添加多个
"UserName": "nacos", // 你的Nacos用户名
"Password": "qwe123!@#", // 你的Nacos密码
"Group": "qx-im", // 默认配置分组,可按需修改
"Listeners": [ //对应配置文件
{
"Optional": false,
"DataId": "qx-im-api-dev", //配置名称
"Group": "qx-im" //组名
}
],
"ServiceName": "YuanXuan.Api", //服务名称
// Ncaos 注册中心的配置
"DefaultTimeOut": 15000,
"ListenInterval": 1000,
"GroupName": "qx-im",
"RegisterEnabled": true,
"InstanceEnabled": true,
"Ephemeral": true,
"ConfigUseRpc": true,
"NamingUseRpc": true,
"LBStrategy": "WeightRandom" //WeightRandom WeightRoundRobin
}
}