You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
128 lines
2.9 KiB
128 lines
2.9 KiB
{
|
|
"server.urls": "http://*:8011",
|
|
"BasePath": "/platform",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning"
|
|
}
|
|
},
|
|
"tableprefix": "iot",
|
|
"useRedisSignalR": "true",
|
|
"useConfigServer": "false",
|
|
"useLogServer": "false",
|
|
"useServiceServer": "false",
|
|
"AppSettings": {
|
|
"database": "mysql",
|
|
"cache": "redis",
|
|
"fileserver": "minio",
|
|
"jobdb": "mysql"
|
|
},
|
|
"ConnectionStrings": {
|
|
"postgresql": "User ID=root;Host=localhost;Port=26257;Database=iotcenter;CommandTimeout=600;TrustServerCertificate=true;",
|
|
"sqlite": "Data Source=iotcenter.db",
|
|
"mysql": "Server=localhost;Port=3306;Database=iotcenter;Uid=root;Pwd=aA123456!;",
|
|
"job.mysql": "Server=localhost;Port=3306;Database=jobserver;Uid=root;Pwd=aA123456!;Allow User Variables=True;",
|
|
"redis": "localhost:6379,password=aA123456!,allowAdmin=true",
|
|
"srs": "http://localhost:1985"
|
|
},
|
|
"nacosConfigServer": {
|
|
"ServerAddresses": "localhost:8848",
|
|
"Optional": false,
|
|
"DataId": "IoTCenter",
|
|
"Group": "IoT",
|
|
"Tenant": ""
|
|
},
|
|
"nacos": {
|
|
"ServerAddresses": [ "localhost:8848" ],
|
|
"DefaultTimeOut": 15,
|
|
"Namespace": "",
|
|
"ListenInterval": 1000,
|
|
"ServiceName": "IoTCenter",
|
|
"Ip": "127.0.0.1",
|
|
"Port": "8011"
|
|
},
|
|
"jwt": {
|
|
"key": "111111111111111111111111",
|
|
"issuer": "111111111111111111111111",
|
|
"audience": "111111111111111111111111"
|
|
},
|
|
"elasticsearch": {
|
|
"url": "http://localhost:9200"
|
|
},
|
|
"influxdb": {
|
|
"url": "http://localhost:8086",
|
|
"usr": "admin",
|
|
"pwd": "admin"
|
|
},
|
|
"security": {
|
|
"key": "111111111111111111111111"
|
|
},
|
|
"openapi": {
|
|
"name": "openapi",
|
|
"title": "title",
|
|
"version": "v1"
|
|
},
|
|
"usercenter": {
|
|
"key": "123456",
|
|
"login": "/Account/Login",
|
|
"logout": "/Account/Logout",
|
|
"register": "/Account/Register"
|
|
},
|
|
|
|
"minio": {
|
|
"endpoint": "localhost:9000",
|
|
"accessKey": "admin",
|
|
"secretKey": "12345678"
|
|
},
|
|
"logserver": {
|
|
"influxdb": {
|
|
"address": "http://localhost",
|
|
"dbName": "log",
|
|
"username": "admin",
|
|
"password": "admin"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"ReverseProxy": {
|
|
"Routes": [
|
|
{
|
|
"RouteId": "minio",
|
|
"ClusterId": "cluster1",
|
|
"Match": {
|
|
"Path": "/dfs/{**catch-all}"
|
|
}
|
|
},
|
|
{
|
|
"RouteId": "live",
|
|
"ClusterId": "cluster2",
|
|
"Match": {
|
|
"Path": "/live/{**catch-all}"
|
|
}
|
|
},
|
|
{
|
|
"RouteId": "video",
|
|
"ClusterId": "cluster2",
|
|
"Match": {
|
|
"Path": "/video/{**catch-all}"
|
|
}
|
|
}
|
|
],
|
|
"Clusters": {
|
|
"cluster1": {
|
|
"Destinations": {
|
|
"dfs": {
|
|
"Address": "http://localhost"
|
|
}
|
|
}
|
|
},
|
|
"cluster2": {
|
|
"Destinations": {
|
|
"dfs": {
|
|
"Address": "http://localhost:8080"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |