156 lines
4.4 KiB
JSON
156 lines
4.4 KiB
JSON
{
|
||
"Serilog": {
|
||
"Using": [
|
||
"Serilog.Sinks.Console",
|
||
"Serilog.Sinks.File"
|
||
],
|
||
"MinimumLevel": {
|
||
"Default": "Warning",
|
||
"Override": {
|
||
"Microsoft": "Warning",
|
||
"Volo.Abp": "Warning",
|
||
"Hangfire": "Warning",
|
||
"DotNetCore.CAP": "Warning",
|
||
"Serilog.AspNetCore": "Information",
|
||
"Microsoft.EntityFrameworkCore": "Warning",
|
||
"Microsoft.AspNetCore": "Warning",
|
||
"Microsoft.AspNetCore.Diagnostics.HealthChecks": "Warning"
|
||
}
|
||
},
|
||
"WriteTo": [
|
||
{
|
||
"Name": "Console"
|
||
},
|
||
{
|
||
"Name": "File",
|
||
"Args": {
|
||
"path": "logs/logs-.txt",
|
||
"rollingInterval": "Day"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"App": {
|
||
"SelfUrl": "http://localhost:44315",
|
||
"CorsOrigins": "http://localhost:4200,http://localhost:3100"
|
||
},
|
||
"ConnectionStrings": {
|
||
"Default": "mongodb://mongo_PmEeF3:lixiao1980@192.168.1.9:27017/JiSheCollectBus?authSource=admin&maxPoolSize=400&minPoolSize=10&waitQueueTimeoutMS=5000",
|
||
"Kafka": "192.168.1.9:29092,192.168.1.9:39092,192.168.1.9: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": {
|
||
"Configuration": "192.168.1.9:6380,password=1q2w3e!@#,syncTimeout=30000,abortConnect=false,connectTimeout=30000,allowAdmin=true",
|
||
"MaxPoolSize": "50",
|
||
"DefaultDB": "14",
|
||
"HangfireDB": "13"
|
||
},
|
||
"Jwt": {
|
||
"Audience": "JiShe.CollectBus",
|
||
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
||
"Issuer": "JiShe.CollectBus",
|
||
"ExpirationTime": 2
|
||
},
|
||
"HealthChecks": {
|
||
"IsEnable": true,
|
||
"HealthCheckDatabaseName": "HealthChecks",
|
||
"EvaluationTimeInSeconds": 10,
|
||
"MinimumSecondsBetweenFailureNotifications": 60
|
||
},
|
||
"SwaggerConfig": [
|
||
{
|
||
"GroupName": "Basic",
|
||
"Title": "【后台管理】基础模块",
|
||
"Version": "V1"
|
||
},
|
||
{
|
||
"GroupName": "Business",
|
||
"Title": "【后台管理】业务模块",
|
||
"Version": "V1"
|
||
}
|
||
],
|
||
"Kafka": {
|
||
"BootstrapServers": "192.168.1.9:29092,192.168.1.9:39092,192.168.1.9:49092",
|
||
"EnableFilter": true,
|
||
"EnableAuthorization": false,
|
||
"SecurityProtocol": "SaslPlaintext",
|
||
"SaslMechanism": "Plain",
|
||
"SaslUserName": "lixiao",
|
||
"SaslPassword": "lixiao1980",
|
||
"KafkaReplicationFactor": 3,
|
||
"NumPartitions": 30,
|
||
"ServerTagName": "JiSheCollectBus5",
|
||
"FirstCollectionTime": "2025-04-22 16:07:00"
|
||
},
|
||
"IoTDBOptions": {
|
||
"UserName": "root",
|
||
"Password": "root",
|
||
"ClusterList": [ "192.168.1.9:6667" ],
|
||
"PoolSize": 2,
|
||
"DataBaseName": "energy",
|
||
"OpenDebugMode": true,
|
||
"UseTableSessionPoolByDefault": false
|
||
},
|
||
"Cassandra": {
|
||
"ReplicationStrategy": {
|
||
"Class": "NetworkTopologyStrategy", //策略为NetworkTopologyStrategy时才会有多个数据中心,SimpleStrategy用在只有一个数据中心的情况下
|
||
"DataCenters": [
|
||
{
|
||
"Name": "dc1",
|
||
"ReplicationFactor": 3
|
||
}
|
||
]
|
||
},
|
||
"Nodes": [
|
||
{
|
||
"Host": "192.168.1.9",
|
||
"Port": 9042,
|
||
"DataCenter": "dc1",
|
||
"Rack": "RAC1"
|
||
},
|
||
{
|
||
"Host": "192.168.1.9",
|
||
"Port": 9043,
|
||
"DataCenter": "dc1",
|
||
"Rack": "RAC2"
|
||
},
|
||
{
|
||
"Host": "192.168.1.9",
|
||
"Port": 9044,
|
||
"DataCenter": "dc1",
|
||
"Rack": "RAC2"
|
||
}
|
||
],
|
||
"Username": "admin",
|
||
"Password": "lixiao1980",
|
||
"Keyspace": "jishecollectbus",
|
||
"ConsistencyLevel": "Quorum",
|
||
"PoolingOptions": {
|
||
"CoreConnectionsPerHost": 4,
|
||
"MaxConnectionsPerHost": 8,
|
||
"MaxRequestsPerConnection": 2000
|
||
},
|
||
"SocketOptions": {
|
||
"ConnectTimeoutMillis": 10000,
|
||
"ReadTimeoutMillis": 20000
|
||
},
|
||
"QueryOptions": {
|
||
"ConsistencyLevel": "Quorum",
|
||
"SerialConsistencyLevel": "Serial",
|
||
"DefaultIdempotence": true
|
||
}
|
||
},
|
||
"ServerApplicationOptions": {
|
||
"ServerTagName": "JiSheCollectBus100",
|
||
"SystemType": null,
|
||
"FirstCollectionTime": "2025-04-22 16:07:00",
|
||
"AutomaticVerificationTime": "16:07:00",
|
||
"AutomaticTerminalVersionTime": "17:07:00",
|
||
"AutomaticTelematicsModuleTime": "17:30:00",
|
||
"AutomaticDayFreezeTime": "02:30:00",
|
||
"AutomaticMonthFreezeTime": "03:30:00",
|
||
"DefaultProtocolPlugin": "T37612012ProtocolPlugin"
|
||
},
|
||
"PlugInFolder": ""
|
||
} |