34 lines
1.3 KiB
JSON
34 lines
1.3 KiB
JSON
{
|
||
"Logging": {
|
||
"LogLevel": {
|
||
"Default": "Warning",
|
||
"Microsoft.AspNetCore": "Warning",
|
||
"Microsoft.Hosting.Lifetime": "Information"
|
||
}
|
||
},
|
||
"AllowedHosts": "*",
|
||
"DataProtection": "temp-keys/",
|
||
"ConnectionStrings": {
|
||
"OpenAuthDBContext": "PORT=5432;Database=LASAPlatformNew;HOST=192.168.10.163;PASSWORD=123456;USER ID=postgres;Pooling=true;Minimum Pool Size=5;Maximum Pool Size=100;Connection Lifetime=600;Timeout=30;Command Timeout=30;"
|
||
},
|
||
"AppSetting": {
|
||
"IdentityServerUrl": "", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
//"IdentityServerUrl": "http://localhost:12796", //IdentityServer服务器地址。如果为空,则不启用OAuth认证
|
||
"DbTypes": {
|
||
"OpenAuthDBContext": "PostgreSQL" //数据库类型:SqlServer、MySql、Oracle、PostgreSQL
|
||
},
|
||
"UploadPath": "", //附件上传的路径,如果为空则保存在站点根目录
|
||
"RedisConf": {
|
||
"Conn": "192.168.10.163:6379,password=123456,abortConnect=false,connectRetry=3,connectTimeout=5000,syncTimeout=5000,responseTimeout=5000",
|
||
"Database": 7
|
||
}, //redis配置
|
||
"HttpHost": "http://*:10010 ", //启动绑定地址及端口
|
||
"SYSTEM_USERPWD": "Hopetry@shandong."
|
||
},
|
||
"WeChat": {
|
||
"AppId": "wx16deccc21a95c9f9",
|
||
"AppSecret": "b35f7b9611e0e47a1e7fab57d5399202"
|
||
}
|
||
|
||
}
|