83 lines
2.4 KiB
JSON
83 lines
2.4 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Elsa": {
|
|
"PlatformIntegration": {
|
|
"Enabled": false,
|
|
"PlatformEndpoint": "https://localhost:7001",
|
|
"WorkspaceId": "00000000-0000-0000-0000-000000000000",
|
|
"EngineId": "00000000-0000-0000-0000-000000000000",
|
|
"EngineSecret": "",
|
|
"PollInterval": "00:00:05",
|
|
"ClaimLeaseDuration": "00:05:00",
|
|
"ShellOverlayPath": "platform-shell-overrides.json"
|
|
}
|
|
},
|
|
"CShells": {
|
|
"Shells": [
|
|
{
|
|
"Name": "Default",
|
|
"Description": "Uses unified persistence configuration - all persistence features share the same settings",
|
|
"Properties": {
|
|
"WebRouting": {
|
|
"Path": ""
|
|
}
|
|
},
|
|
"Settings": {
|
|
"FastEndpoints": {
|
|
"GlobalRoutePrefix": "elsa/api"
|
|
},
|
|
"SqliteWorkflowPersistence": {
|
|
"ConnectionString": "Data Source=elsa_workflows.db;Cache=Shared",
|
|
"DbContextOptions": {
|
|
"EnableSensitiveDataLogging": false,
|
|
"EnableDetailedErrors": false
|
|
}
|
|
}
|
|
},
|
|
"Features": [
|
|
"Elsa",
|
|
"WorkflowsApi",
|
|
"Identity",
|
|
"DefaultAuthentication",
|
|
"SqliteWorkflowPersistence"
|
|
]
|
|
},
|
|
{
|
|
"Name": "Tenant1",
|
|
"Description": "Uses individual feature configuration with override for runtime on separate database",
|
|
"Properties": {
|
|
"WebRouting": {
|
|
"Path": "tenant1"
|
|
}
|
|
},
|
|
"Settings": {
|
|
"FastEndpoints": {
|
|
"GlobalRoutePrefix": "api"
|
|
},
|
|
"SqlServerWorkflowPersistence": {
|
|
"ConnectionString": "${ConnectionStrings:Tenant1}"
|
|
},
|
|
"SqlServerWorkflowRuntimePersistence": {
|
|
"ConnectionString": "${ConnectionStrings:Tenant1Runtime}"
|
|
}
|
|
},
|
|
"Features": [
|
|
"Elsa",
|
|
"WorkflowsApi",
|
|
"SqlServerWorkflowPersistence"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"ConnectionStrings": {
|
|
"Tenant1": "Server=localhost;Database=ElsaTenant1;Integrated Security=true;TrustServerCertificate=true",
|
|
"Tenant1Runtime": "Server=localhost;Database=ElsaTenant1Runtime;Integrated Security=true;TrustServerCertificate=true"
|
|
}
|
|
}
|