100 lines
3.9 KiB
JSON
100 lines
3.9 KiB
JSON
|
|
{
|
||
|
|
"App": {
|
||
|
|
"SelfUrl": "http://localhost:44315",
|
||
|
|
"CorsOrigins": "https://*.IoT.com,http://localhost:4200,http://localhost:3100,http://localhost:80,http://10.10.70.11:4200,http://47.110.53.196:30711"
|
||
|
|
},
|
||
|
|
"ConnectionStrings": {
|
||
|
|
"Default": "Data Source=mysql;Port=3306;Database=JiSheIoTProDB;uid=root;pwd=JiShe!aqG#5kGgh&0;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true;"
|
||
|
|
// // 正式
|
||
|
|
// "PrepayDB": "server=rm-m5el3d1u1k0wzk70n2o.sqlserver.rds.aliyuncs.com,3433;database=jishe.sysdb;uid=v3sa;pwd=JiShe123;Encrypt=False;Trust Server Certificate=False",
|
||
|
|
// "EnergyDB": "server=rm-wz9hw529i3j1e3b5fbo.sqlserver.rds.aliyuncs.com,3433;database=db_energy;uid=yjdb;pwd=Kdjdhf+9*7ad222LL;Encrypt=False;Trust Server Certificate=False"
|
||
|
|
},
|
||
|
|
"Hangfire": {
|
||
|
|
"Redis": {
|
||
|
|
"Host": "redis:6379,password=1q3J@BGf!yhTaD46nS#",
|
||
|
|
"DB": "2"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"Redis": {
|
||
|
|
"Configuration": "redis:6379,defaultdatabase=5,password=1q3J@BGf!yhTaD46nS#"
|
||
|
|
},
|
||
|
|
"Kafka": {
|
||
|
|
"BootstrapServers": "47.110.62.104:9094,47.110.53.196:9094,47.110.60.222:9094",
|
||
|
|
"EnableFilter": true,
|
||
|
|
"EnableAuthorization": false,
|
||
|
|
"SaslUserName": "lixiao",
|
||
|
|
"SaslPassword": "lixiao@1980",
|
||
|
|
"KafkaReplicationFactor": 3,
|
||
|
|
"NumPartitions": 30,
|
||
|
|
"TaskThreadCount": -1
|
||
|
|
},
|
||
|
|
"Pulsar": {
|
||
|
|
"ServiceUrl": "pulsar://pulsar-broker:9093",
|
||
|
|
"WebUrl": "http://pulsar-broker:9094",
|
||
|
|
"UserName": "admin",
|
||
|
|
"TenantName": "1YMVZZkAkRArjxSD8457",
|
||
|
|
"Namespace": "OneNET",
|
||
|
|
"PulsarSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
|
||
|
|
"PulsarSubscriptionCustomName": "sub",
|
||
|
|
"EnableTls": false,
|
||
|
|
"ValidateServerCertificate": false,
|
||
|
|
"ConnectionTimeout": 30,
|
||
|
|
"OperationTimeout": 30,
|
||
|
|
"KeepAliveInterval": 30,
|
||
|
|
"TaskThreadCount": 1,
|
||
|
|
"IsSubscriber": true,
|
||
|
|
"DefaultPartitions": 16,
|
||
|
|
"DefaultBundles": 16,
|
||
|
|
"EnableAutoCreation": true, //开启自动创建Topic
|
||
|
|
"TopicMode": "Static", //Dynamic 主题模式
|
||
|
|
"EnableTopicTypeFilter": true, //允许Topic类型过滤
|
||
|
|
"AllowedTopicTypes": [ "Static" ], //允许的Topic类型
|
||
|
|
"AllowedClusters": [ "pulsar-cluster-1" ], //允许的集群
|
||
|
|
"AdminRoles": [ "admin" ],
|
||
|
|
"EnableConsumerIdleCleanup": true,
|
||
|
|
"ConsumerIdleCleanupMinutes": 120,
|
||
|
|
"EnableProducerIdleCleanup": true,
|
||
|
|
"ProducerIdleCleanupMinutes": 60
|
||
|
|
},
|
||
|
|
"IoTDBOptions": {
|
||
|
|
"UserName": "root",
|
||
|
|
"Password": "Lixiao@1980",
|
||
|
|
"TreeModelClusterList": [ "iotdb-standalone:6667" ],
|
||
|
|
"TableModelClusterList": [ "iotdb-standalone:6667" ],
|
||
|
|
"PoolSize": 32,
|
||
|
|
"DataBaseName": "jisheiotdata",
|
||
|
|
"OpenDebugMode": true,
|
||
|
|
"UseTableSessionPoolByDefault": false
|
||
|
|
},
|
||
|
|
"ServerApplicationOptions": {
|
||
|
|
"ServerTagName": "JiSheCollectBus01",
|
||
|
|
"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",
|
||
|
|
"DefaultProtocolPlugin": "T37612012ProtocolPlugin",
|
||
|
|
"VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
||
|
|
"DistributedMessage": 2
|
||
|
|
},
|
||
|
|
"Jwt": {
|
||
|
|
"Audience": "JiShe.IoT",
|
||
|
|
"SecurityKey": "dzehzRz9a8asdfaf43ghVD@d#fasdfaf567sdadfasdf=",
|
||
|
|
"Issuer": "JiShe.IoT",
|
||
|
|
"ExpirationTime": 2
|
||
|
|
},
|
||
|
|
"FreeRedisOptions": {
|
||
|
|
"ConnectionString": "redis:6379,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14",
|
||
|
|
"UseDistributedCache": true
|
||
|
|
},
|
||
|
|
"FreeSqlProviderOptions": {
|
||
|
|
"UsePrepayDB": false,
|
||
|
|
"UseEnergyDB": false,
|
||
|
|
"PrintLog": false
|
||
|
|
},
|
||
|
|
"OneNETSecureReceiveOptions": {
|
||
|
|
"OneNETVerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
|
||
|
|
"OneNETAesKey": "RPTEIGCA1KvDEXS1"
|
||
|
|
}
|
||
|
|
}
|