w4c-workflows-api/appsettings.json

72 lines
1.7 KiB
JSON
Raw Normal View History

{
"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": ""
},
"SourceCode": {
"RepoRoot": ""
},
"WorkflowSource": {
"CopiesRoot": ".data/workflow-tenants",
"SharedDir": "workflows"
}
}