diff --git a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json index c879aea..fa92a84 100644 --- a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json +++ b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json @@ -14,28 +14,28 @@ }, "Hangfire": { "Redis": { - "Host": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#", + "Host": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#", "DB": "2" } }, "Redis": { - "Configuration": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5" + "Configuration": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#,defaultdatabase=5" }, "Kafka": { - "BootstrapServers": "47.110.62.104:9094,47.110.53.196:9094,47.110.60.222:9094", + "BootstrapServers": "192.168.111.37:9094", "EnableFilter": true, "EnableAuthorization": false, "SaslUserName": "lixiao", "SaslPassword": "lixiao@1980", - "KafkaReplicationFactor": 3, + "KafkaReplicationFactor": 1, "NumPartitions": 30, "TaskThreadCount": -1 }, "IoTDBOptions": { "UserName": "root", "Password": "Lixiao@1980", - "TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], - "TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + "TreeModelClusterList": [ "192.168.111.37:6667" ], + "TableModelClusterList": [ "192.168.111.37:6667" ], "PoolSize": 32, "TableModelDataBaseName": "energy", "OpenDebugMode": true, @@ -67,7 +67,7 @@ } }, "FreeRedisOptions": { - "ConnectionString": "47.110.53.196:6379,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14", + "ConnectionString": "192.168.111.37:6379,password=1q3J@BGf!yhTaD46nS#,abortConnect=false,connectTimeout=30000,allowAdmin=true,maxPoolSize=500,defaultdatabase=14", "UseDistributedCache": true }, "FreeSqlProviderOptions": { diff --git a/src/JiShe.IoT.DbMigrator/appsettings.json b/src/JiShe.IoT.DbMigrator/appsettings.json index 4bb2c18..31b801d 100644 --- a/src/JiShe.IoT.DbMigrator/appsettings.json +++ b/src/JiShe.IoT.DbMigrator/appsettings.json @@ -5,8 +5,10 @@ "IoTDBOptions": { "UserName": "root", "Password": "Lixiao@1980", - "TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], - "TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + //"TreeModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + //"TableModelClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ], + "TreeModelClusterList": [ "192.168.111.37:6667" ], + "TableModelClusterList": [ "192.168.111.37:6667" ], "PoolSize": 32, "TableModelDataBaseName": "energy", "OpenDebugMode": true,