mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-26 10:34:07 +08:00
45 lines
1.5 KiB
JSON
45 lines
1.5 KiB
JSON
{
|
|
"urls": "http://*:5000",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"System": "Warning",
|
|
"Microsoft": "Warning"
|
|
}
|
|
},
|
|
"alwaysTrustSsl": true, // If true, the server will ignore SSL errors.
|
|
"serviceHealthCheckInterval": 15, // 服务健康检测的间隔时间,单位:秒
|
|
"serviceUnhealthInterval": 60, // 判断服务不健康的间隔,超出这个时间没响应过则认为不健康,默认60,单位:秒
|
|
"removeServiceInterval": 0, // 如果一个服务超出这个时间没有响应,则直接移除这个服务,单位:秒;如果设定为 <= 0,则不会移除,默认 0 。
|
|
"pathBase": "",//使用反向代理的时候,或许需要修改这个值
|
|
"adminConsole": false,
|
|
"nodes": "", // 需要监控的节点
|
|
"preview_mode": false,
|
|
"db": {
|
|
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
|
|
"conn": "",
|
|
//"conn": "Data Source=agile_config.db"
|
|
//"conn": "Persist Security Info = False; User ID =dev; Password =dev@123; Initial Catalog =agile_config; Server =."
|
|
"env": {
|
|
"TEST": {
|
|
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
|
|
"conn": ""
|
|
},
|
|
"STAGING": {
|
|
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
|
|
"conn": ""
|
|
},
|
|
"PROD": {
|
|
"provider": "", //sqlite,mysql,sqlserver,npgsql,oracle
|
|
"conn": ""
|
|
}
|
|
}
|
|
},
|
|
"JwtSetting": {
|
|
"SecurityKey": "dfasf343453fsdfa,./,./sdfasf34r3hfhfdb", // 密钥
|
|
"Issuer": "agileconfig.admin", // 颁发者
|
|
"Audience": "agileconfig.admin", // 接收者
|
|
"ExpireSeconds": 86400 // 过期时间
|
|
}
|
|
}
|