85 lines
2.4 KiB
JSON
Raw Normal View History

2025-04-02 17:46:33 +08:00
{
2024-12-19 16:07:07 +08:00
"Serilog": {
"Using": [
"Serilog.Sinks.Console",
"Serilog.Sinks.File"
],
"MinimumLevel": {
2025-03-27 08:38:19 +08:00
"Default": "Information",
2024-12-19 16:07:07 +08:00
"Override": {
2025-03-27 08:38:19 +08:00
"Microsoft": "Warning",
2024-12-19 16:07:07 +08:00
"Volo.Abp": "Warning",
2025-03-27 08:38:19 +08:00
"Hangfire": "Warning",
2024-12-19 16:07:07 +08:00
"DotNetCore.CAP": "Warning",
"Serilog.AspNetCore": "Information",
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.AspNetCore": "Warning"
}
},
"WriteTo": [
{
"Name": "Console"
},
2025-04-02 17:46:33 +08:00
{
2024-12-19 16:07:07 +08:00
"Name": "File",
"Args": {
"path": "logs/logs-.txt",
"rollingInterval": "Day"
}
}
]
},
"App": {
"SelfUrl": "http://localhost:44315",
"CorsOrigins": "http://localhost:4200,http://localhost:3100"
},
2025-04-02 17:46:33 +08:00
"ConnectionStrings": {
"Default": "mongodb://admin:admin02023@118.190.144.92:37117,118.190.144.92:37119,118.190.144.92:37120/JiSheCollectBus?authSource=admin&maxPoolSize=400&minPoolSize=10&waitQueueTimeoutMS=5000",
"Kafka": "121.42.242.91:29092,121.42.242.91:39092,121.42.242.91:49092",
"PrepayDB": "server=118.190.144.92;database=jishe.sysdb;uid=sa;pwd=admin@2023;Encrypt=False;Trust Server Certificate=False",
"EnergyDB": "server=118.190.144.92;database=db_energy;uid=sa;pwd=admin@2023;Encrypt=False;Trust Server Certificate=False"
},
"Redis": {
2025-04-08 17:44:42 +08:00
"Configuration": "120.24.52.151:6380,password=1q2w3e!@#,syncTimeout=30000,abortConnect=false,connectTimeout=30000,allowAdmin=true",
2025-04-02 17:46:33 +08:00
"DefaultDB": "14",
"HangfireDB": "15"
},
2024-12-19 16:07:07 +08:00
"Jwt": {
"Audience": "JiShe.CollectBus",
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
"Issuer": "JiShe.CollectBus",
"ExpirationTime": 2
},
"HealthCheck": {
"IsEnable": true,
"MySql": {
"IsEnable": true
},
"Pings": {
"IsEnable": true,
"Host": "https://www.baidu.com/",
"TimeOut": 5000
}
},
"SwaggerConfig": [
{
"GroupName": "Basic",
"Title": "【后台管理】基础模块",
"Version": "V1"
},
{
"GroupName": "Business",
"Title": "【后台管理】业务模块",
"Version": "V1"
}
],
2025-04-02 17:46:33 +08:00
"IoTDBOptions": {
"UserName": "root",
"Password": "root",
2025-04-03 16:46:26 +08:00
"ClusterList": [ "192.168.56.102:6667" ],
2025-04-07 10:56:40 +08:00
"PoolSize": 2,
2025-04-07 16:44:25 +08:00
"DataBaseName": "energy",
"OpenDebugMode": true,
"UseTableSessionPoolByDefault": false
2024-12-19 16:07:07 +08:00
}
}