94 lines
2.8 KiB
JSON
94 lines
2.8 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"InternalRequest": {
|
|
"CommonRequestUrl": "http://common",
|
|
"SysRequestUrl": "http://sys",
|
|
"ScheduledRequestUrl": "http://Scheduled",
|
|
"InfoCheckRequestUrl": "http://192.168.199.115:5048",
|
|
"MessageRequestUrl": "http://message"
|
|
},
|
|
"FaceUrlOptions": {
|
|
"Url": "https://yikatong.isawesome.cn/api/basic/gainfos/face?token=",
|
|
"Limit": 7200
|
|
},
|
|
"DataProtectionOptions": {
|
|
"Enable": true,
|
|
"AppName": "yikatong"
|
|
},
|
|
"SqlSugarOptions": {
|
|
"DefaultConnectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=yikatong;charset=utf8mb4;",
|
|
"SlaveConnectionString": [],
|
|
"LogConnectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=log;charset=utf8mb4;",
|
|
"IdentityConnectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=identity;charset=utf8mb4;",
|
|
"FaceConnectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=face;charset=utf8mb4;",
|
|
"Timeout": 30,
|
|
"SlowSqlTime": 1,
|
|
"EnableSqlLog": false,
|
|
"Generate": false
|
|
},
|
|
"SwaggerOptions": {
|
|
"Enable": true,
|
|
"Authority": "https://192.168.199.124/oauth2",
|
|
"ClientId": "98958aa485d38412",
|
|
"ClientSecret": "52589e011f02fe19",
|
|
"Scopes": {
|
|
"openid": "openid",
|
|
"profile": "profile",
|
|
"yikatong": "yikatong"
|
|
}
|
|
},
|
|
"RedisOptions": {
|
|
"ConnectionString": "192.168.199.124:6379,defaultDatabase=1,password=dlhis123"
|
|
},
|
|
"IdentityServerOptions": {
|
|
"Authority": "https://192.168.199.124/oauth2",
|
|
"RequireHttpsMetadata": false,
|
|
"Issuer": "identity.isawesome.cn",
|
|
"Audience": "yikatong",
|
|
"Pat": {
|
|
"Enable": false,
|
|
"Scheme": "token",
|
|
"ClientId": "reference",
|
|
"ClientSecret": "123456"
|
|
}
|
|
},
|
|
"MinIO": {
|
|
"Endpoint": "http://192.168.199.124:9000",
|
|
"AccessKey": "7z9Aeat9givpNbnAt36T",
|
|
"SecretKey": "tW3WqS1wQZMbIrXKZokyxfF0CDL4vqrthTUNVMdB",
|
|
"DefaultBucket": "apk"
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"System": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "MySQL",
|
|
"Args": {
|
|
"connectionString": "server=192.168.199.124;port=3306;userid=root;password=dlhis123;database=log;charset=utf8mb4;",
|
|
"tableName": "Logs",
|
|
"autoCreateSqlTable": true
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|