mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-19 13:39:19 +08:00
30 lines
1.0 KiB
JSON
30 lines
1.0 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Trace",
|
|
"System": "Information",
|
|
"Microsoft": "Information"
|
|
}
|
|
},
|
|
"adminConsole": true,
|
|
"preview_mode": false,
|
|
"db": {
|
|
"provider": "sqlite", //sqlite,mysql,sqlserver,npgsql,oracle
|
|
"conn": "Data Source=agile_config.db"
|
|
//"provider": "sqlserver",
|
|
//"conn": "Persist Security Info = False; User ID =dev; Password =dev@123; Initial Catalog =agile_config; Server =192.168.18.82"
|
|
//"provider": "npgsql",
|
|
//"conn": "Host=127.0.0.1;Database=agile_config;Username=postgres;Password=dev@123"
|
|
//"provider": "oracle",
|
|
//"conn": "user id=CLINIC;password=CLINIC;data source=192.168.0.91/orcl"
|
|
//"provider": "mysql",
|
|
//"conn": "Database=agile_config;Data Source=192.168.18.82;User Id=dev;Password=dev@123;port=3306"
|
|
},
|
|
"JwtSetting": {
|
|
"SecurityKey": "dfasf343453fsdfa,./,./sdfasf34r3hfhfdb", // 密钥
|
|
"Issuer": "agileconfig.admin", // 颁发者
|
|
"Audience": "agileconfig.admin", // 接收者
|
|
"ExpireSeconds": 86400 // 过期时间
|
|
}
|
|
}
|