75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Urls": "http://*:5259",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Host=localhost;Port=5432;Database=w4c;Username=w4c;Password=w4c"
|
|
},
|
|
"Redis": {
|
|
"ConnectionString": "localhost:6379,password=w4c,abortConnect=false"
|
|
},
|
|
"OpenSearch": {
|
|
"Url": "http://localhost:9200"
|
|
},
|
|
"Auth": {
|
|
"JwtSigningKey": ""
|
|
},
|
|
"Cors": {
|
|
"Origins": []
|
|
},
|
|
"Workflows": {
|
|
"WorkerStream": "wf:{tenant}:jobs",
|
|
"EventStream": "wf:{tenant}:events",
|
|
"DlqStream": "wf:{tenant}:dlq",
|
|
"ResultStream": "wf:{tenant}:results",
|
|
"ConsumerGroup": "workers",
|
|
"MaxRetries": 3,
|
|
"RunTimeoutSeconds": 300,
|
|
"TaskTimeoutSeconds": 60,
|
|
"EsbuildBinary": "esbuild",
|
|
"NodeBinary": "node",
|
|
"TenantId": "",
|
|
"WorkerBatchSize": 10,
|
|
"WorkerPollDelayMs": 500,
|
|
"WorkerClaimIdleSeconds": 30,
|
|
"SchedulerPollSeconds": 30,
|
|
"TriggerStateTtlDays": 90,
|
|
"HandlerPollDelayMs": 500,
|
|
"HandlerBatchSize": 10,
|
|
"HandlerClaimIdleSeconds": 30,
|
|
"WebhookSecret": "",
|
|
"WorkerRoot": "",
|
|
"ServerApiUrl": "",
|
|
"ServerApiToken": "",
|
|
"ServerTaskTimeoutSeconds": 120,
|
|
"ChatApiUrl": "",
|
|
"ChatApiToken": "",
|
|
"AgentStepTimeoutSeconds": 120,
|
|
"LifecyclePollDelayMs": 500,
|
|
"LifecycleBatchSize": 10,
|
|
"LifecycleClaimIdleSeconds": 30,
|
|
"LifecycleLeaseTtlSeconds": 60,
|
|
"RetryBaseDelayMs": 1000,
|
|
"RetryMaxDelayMs": 30000
|
|
},
|
|
"Forgejo": {
|
|
"BaseUrl": "https://forgejo.wiz4chat.com",
|
|
"AccessToken": "043a13f8ee662d1ad96ca0d3018ab17907ec3470",
|
|
"AdminToken": "8d811a81579747f0d9b2e54c9068edd49618d15c",
|
|
"Owner": "test",
|
|
"WorkflowRepoOwner": ""
|
|
},
|
|
"SourceCode": {
|
|
"RepoRoot": ""
|
|
},
|
|
"WorkflowSource": {
|
|
"CopiesRoot": "../source-copies",
|
|
"SharedDir": "workflows"
|
|
}
|
|
}
|