121 lines
2.9 KiB
JSON
121 lines
2.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,
|
|
"CSharpTimeoutSeconds": 60,
|
|
"EsbuildBinary": "esbuild",
|
|
"NodeBinary": "node",
|
|
"TenantId": "",
|
|
"WorkerBatchSize": 10,
|
|
"WorkerPollDelayMs": 500,
|
|
"WorkerClaimIdleSeconds": 30,
|
|
"SchedulerPollSeconds": 30,
|
|
"TriggerStateTtlDays": 90,
|
|
"HandlerPollDelayMs": 500,
|
|
"HandlerBatchSize": 10,
|
|
"HandlerClaimIdleSeconds": 30,
|
|
"WebhookSecret": "",
|
|
"WebhookSecrets": {},
|
|
"WebhookMaxBodyBytes": 1048576,
|
|
"WorkerRoot": "",
|
|
"ServerApiUrl": "",
|
|
"ServerApiToken": "",
|
|
"ServerTaskTimeoutSeconds": 120,
|
|
"ChatApiUrl": "",
|
|
"ChatApiToken": "",
|
|
"AgentStepTimeoutSeconds": 120,
|
|
"LifecyclePollDelayMs": 500,
|
|
"LifecycleBatchSize": 10,
|
|
"LifecycleClaimIdleSeconds": 30,
|
|
"LifecycleLeaseTtlSeconds": 60,
|
|
"RetryBaseDelayMs": 1000,
|
|
"RetryMaxDelayMs": 30000,
|
|
"LowerLegacyScripts": false,
|
|
"Quota": {
|
|
"Enforced": true,
|
|
"RunsPerMonth": 1000
|
|
}
|
|
},
|
|
"Nodes": {
|
|
"Egress": {
|
|
"AllowPrivateNetworks": false,
|
|
"AllowedSchemes": ["https", "http"],
|
|
"AllowedHosts": [],
|
|
"BlockedHosts": [],
|
|
"MaxRedirects": 5
|
|
},
|
|
"Quotas": {
|
|
"MaxRequestsPerRun": 100,
|
|
"MaxResponseBytes": 8388608
|
|
},
|
|
"BinaryStore": {
|
|
"RootPath": "",
|
|
"MaxBytes": 0
|
|
},
|
|
"ConnectorDirectory": "",
|
|
"Permissions": {
|
|
"AllowTypes": [],
|
|
"DenyTypes": [],
|
|
"AllowKinds": [],
|
|
"DenyKinds": [],
|
|
"AllowOrigins": [],
|
|
"DenyOrigins": [],
|
|
"AllowCodeNodes": true,
|
|
"AllowSubWorkflows": true,
|
|
"Tenants": {}
|
|
},
|
|
"Audit": {
|
|
"Enabled": false,
|
|
"Url": "",
|
|
"IndexPrefix": "w4c-actions",
|
|
"Username": "",
|
|
"Password": ""
|
|
}
|
|
},
|
|
"Forgejo": {
|
|
"BaseUrl": "https://forgejo.wiz4chat.com",
|
|
"AccessToken": "043a13f8ee662d1ad96ca0d3018ab17907ec3470",
|
|
"AdminToken": "8d811a81579747f0d9b2e54c9068edd49618d15c",
|
|
"Owner": "test",
|
|
"WorkflowRepoOwner": ""
|
|
},
|
|
"SourceCode": {
|
|
"RepoRoot": ""
|
|
},
|
|
"WorkflowSource": {
|
|
"CopiesRoot": "../source-copies",
|
|
"SharedDir": "workflows",
|
|
"WorkflowRepoName": "workflows",
|
|
"PullIntervalSeconds": 30
|
|
}
|
|
}
|