zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.API/appsettings.Development.json
2023-12-05 17:22:48 +08:00

41 lines
1.2 KiB
JSON

{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=ZeroFramework.DeviceCenter;Trusted_Connection=True",
"MongoConnectionString": "mongodb://localhost:27017"
},
"EventBus": {
"EventBusRetryCount": 3,
"EventBusConnection": "127.0.0.1",
"SubscriptionClientName": "myeventbus",
"EventBusUserName": "",
"EventBusPassword": ""
},
"AllowedOrigins": [ "http://localhost:8000" ],
"IdentityServer": {
"AuthorizationUrl": "https://localhost:5001"
},
"Tenants": [
{
"TenantId": "5f6f2110-58b6-4cf9-b416-85820ba12c01",
"TenantName": "tenant1",
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=ZeroFramework.DeviceCenter;Trusted_Connection=True"
}
},
{
"TenantId": "5f6f2110-58b6-4cf9-b416-85820ba12c02",
"TenantName": "tenant2",
"ConnectionStrings": {
"Default": "Server=(LocalDb)\\MSSQLLocalDB;Database=ZeroFramework.DeviceCenter;Trusted_Connection=True"
}
}
],
"UseDemoLaunchMode": false
}