JiShe.IOT.Admin/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json

63 lines
1.9 KiB
JSON
Raw Normal View History

2025-05-27 14:02:24 +08:00
{
"App": {
"SelfUrl": "http://localhost:44315",
2025-05-27 14:27:50 +08:00
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://localhost"
2025-05-27 14:02:24 +08:00
},
"ConnectionStrings": {
2025-05-27 17:34:55 +08:00
"Default": "Data Source=118.190.144.92;Port=33306;Database=JiSheIoTProDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;",
2025-05-27 16:16:07 +08:00
"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"
2025-05-27 14:39:23 +08:00
},
"Hangfire": {
"Redis": {
"Host": "192.168.5.9:6380,password=1q2w3e!@#",
"DB": "2"
}
2025-05-27 14:02:24 +08:00
},
"Redis": {
2025-05-27 14:39:23 +08:00
"Configuration": "192.168.5.9:6380,password=1q2w3e!@#,defaultdatabase=5"
},
"Kafka": {
"BootstrapServers": "192.168.5.9:29092,192.168.5.9:39092,192.168.5.9:49092",
"EnableFilter": true,
"EnableAuthorization": false,
"SaslUserName": "lixiao",
"SaslPassword": "lixiao1980",
"KafkaReplicationFactor": 3,
"NumPartitions": 30,
"TaskThreadCount": -1,
"FirstCollectionTime": "2025-04-22 16:07:00"
},
"IoTDBOptions": {
"UserName": "root",
"Password": "root",
"ClusterList": [ "121.42.175.177:16667" ],
"PoolSize": 32,
"DataBaseName": "energy",
"OpenDebugMode": true,
"UseTableSessionPoolByDefault": false
2025-05-27 14:02:24 +08:00
},
"Jwt": {
2025-05-27 14:27:50 +08:00
"Audience": "JiShe.IoT",
2025-05-27 14:02:24 +08:00
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
2025-05-27 14:27:50 +08:00
"Issuer": "JiShe.IoT",
2025-05-27 14:02:24 +08:00
"ExpirationTime": 2
},
"Cap": {
"RabbitMq": {
"HostName": "localhost",
"UserName": "admin",
"Password": "1q2w3E*",
"Port": 5672
}
2025-05-27 16:16:07 +08:00
},
"FreeRedisOptions": {
"ConnectionString": "192.168.5.9:6380,password=1q2w3e!@#,defaultdatabase=1",
"UseDistributedCache": true
},
"FreeSqlProviderOptions": {
"UsePrepayDB": true,
"UseEnergyDB": false,
"PrintLog": false
2025-05-27 14:02:24 +08:00
}
}