LASAPlatform/OpenAuth.WebApi/appsettings.Production.json

34 lines
1.3 KiB
JSON
Raw Normal View History

2025-04-23 09:19:29 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Microsoft.AspNetCore": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
2025-04-23 09:19:29 +08:00
}
},
"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;"
2025-04-23 09:19:29 +08:00
},
"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",
2025-10-13 10:52:36 +08:00
"Database": 7
2025-04-23 09:19:29 +08:00
}, //redis配置
"HttpHost": "http://*:10010 ", //启动绑定地址及端口
2025-10-11 16:59:04 +08:00
"SYSTEM_USERPWD": "Hopetry@shandong."
2025-04-23 09:19:29 +08:00
},
"WeChat": {
"AppId": "wx16deccc21a95c9f9",
"AppSecret": "b35f7b9611e0e47a1e7fab57d5399202"
}
}