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

117 lines
4.0 KiB
JSON
Raw Normal View History

2025-05-27 14:02:24 +08:00
{
"App": {
"SelfUrl": "http://localhost:44315",
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.90.3:4200"
2025-05-27 14:02:24 +08:00
},
"ConnectionStrings": {
2025-11-07 11:48:22 +08:00
"Default": "Data Source=192.168.111.174;Port=13306;Database=JiSheIoTProDB;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;TreatTinyAsBoolean=false;SslMode=None;Pooling=true;"
2025-05-27 14:39:23 +08:00
},
"Hangfire": {
"Redis": {
2025-11-07 11:48:22 +08:00
"Host": "192.168.111.174:30712,password=1q3J@BGf!yhTaD46nS#",
2025-05-27 14:39:23 +08:00
"DB": "2"
}
2025-05-27 14:02:24 +08:00
},
"Redis": {
2025-11-07 11:48:22 +08:00
"Configuration": "192.168.111.174:30712,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5"
2025-05-27 14:39:23 +08:00
},
"Kafka": {
2025-11-07 11:48:22 +08:00
"BootstrapServers": "47.110.62.104:9094,192.168.111.174:9094,47.110.60.222:9094",
2025-05-27 14:39:23 +08:00
"EnableFilter": true,
2025-06-23 11:15:09 +08:00
"EnableAuthorization": false,
2025-05-27 14:39:23 +08:00
"SaslUserName": "lixiao",
2025-05-27 22:53:46 +08:00
"SaslPassword": "lixiao@1980",
2025-07-16 17:35:41 +08:00
"KafkaReplicationFactor": 3,
2025-05-27 14:39:23 +08:00
"NumPartitions": 30,
2025-06-09 10:47:25 +08:00
"TaskThreadCount": -1
2025-05-27 14:39:23 +08:00
},
2025-08-07 14:08:37 +08:00
"Pulsar": {
2025-11-07 11:48:22 +08:00
"ServiceUrl": "pulsar://192.168.111.174:26974",
"WebUrl": "http://192.168.111.174:9094",
2025-08-14 10:21:49 +08:00
"UserName": "admin",
2025-08-12 10:53:04 +08:00
"TenantName": "1YMVZZkAkRArjxSD8457",
2025-08-14 10:21:49 +08:00
"Namespace": "OneNET",
2025-08-11 17:39:17 +08:00
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
"PulsarSubscriptionCustomName": "sub4",
2025-08-07 17:07:55 +08:00
"EnableTls": false,
"ValidateServerCertificate": false,
2025-08-11 17:39:17 +08:00
"ConnectionTimeout": 30,
"OperationTimeout": 30,
"KeepAliveInterval": 30,
"TaskThreadCount": 8,
2025-08-20 11:26:00 +08:00
"IsSubscriber": true,
2025-08-12 16:15:37 +08:00
"DefaultPartitions": 16,
2025-08-12 10:53:04 +08:00
"DefaultBundles": 16,
2025-08-13 17:37:54 +08:00
"EnableAutoCreation": true, //开启自动创建Topic
"TopicMode": "Static", //Dynamic 主题模式
"EnableTopicTypeFilter": true, //允许Topic类型过滤
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
2025-08-21 16:58:01 +08:00
"AdminRoles": [ "admin" ],
"EnableConsumerIdleCleanup": true,
"ConsumerIdleCleanupMinutes": 120,
"EnableProducerIdleCleanup": true,
"ProducerIdleCleanupMinutes": 60
2025-08-07 14:08:37 +08:00
},
2025-05-27 14:39:23 +08:00
"IoTDBOptions": {
"UserName": "root",
2025-06-05 14:13:56 +08:00
"Password": "Lixiao@1980",
2025-11-07 11:48:22 +08:00
//"TreeModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
//"TableModelClusterList": [ "192.168.111.174:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
"TreeModelClusterList": [ "192.168.111.174:30710" ],
"TableModelClusterList": [ "192.168.111.174:30710" ],
2025-05-27 14:39:23 +08:00
"PoolSize": 32,
2025-07-23 11:47:23 +08:00
"DataBaseName": "jisheiotdata",
"OpenDebugMode": false,
2025-05-27 14:39:23 +08:00
"UseTableSessionPoolByDefault": false
2025-05-27 14:02:24 +08:00
},
2025-05-29 14:07:34 +08:00
"ServerApplicationOptions": {
2025-09-09 09:13:29 +08:00
"ServerTagName": "JiSheCollectBus12",
2025-05-29 14:07:34 +08:00
"FirstCollectionTime": "2025-04-28 15:07:00",
"AutomaticVerificationTime": "16:07:00",
"AutomaticTerminalVersionTime": "17:07:00",
"AutomaticTelematicsModuleTime": "17:30:00",
"AutomaticDayFreezeTime": "02:30:00",
"AutomaticMonthFreezeTime": "03:30:00",
2025-07-22 14:54:03 +08:00
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
2025-08-21 11:34:16 +08:00
"SignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
"AesSecurityKey": "RPTEIGCA1KvDEXS1",
2025-10-29 17:20:53 +08:00
"IsAesEncrypted": false,
2025-09-09 17:17:03 +08:00
"DistributedMessage": 2,
"SnowflakeWorkerId": 1
2025-05-29 14:07:34 +08:00
},
2025-05-27 14:02:24 +08:00
"Jwt": {
2025-05-27 14:27:50 +08:00
"Audience": "JiShe.IoT",
2025-06-09 10:47:25 +08:00
"SecurityKey": "dzehzRz9a8asdfaf43ghVD@d#fasdfaf567sdadfasdf=",
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": {
2025-11-07 11:48:22 +08:00
"ConnectionString": "192.168.111.174:30712,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
2025-05-27 16:16:07 +08:00
"UseDistributedCache": true
},
"FreeSqlProviderOptions": {
2025-08-19 16:44:04 +08:00
"UsePrepayDB": false,
"UseEnergyDB": false,
2025-10-13 17:18:12 +08:00
"PrintLog": false,
2025-10-20 11:48:45 +08:00
"DataType": 1
2025-07-21 16:17:01 +08:00
},
"OneNETSecureReceiveOptions": {
"OneNETVerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
"OneNETAesKey": "RPTEIGCA1KvDEXS1"
2025-08-22 00:30:23 +08:00
},
"DataChannelOptions": {
2025-11-07 08:59:32 +08:00
"DefaultBatchSize": 10000,
"TelemetryBatchSize": 10000,
"EmptyWaitmilliseconds": 500,
"TimeoutMilliseconds": 500
2025-05-27 14:02:24 +08:00
}
}