108 lines
3.2 KiB
JSON
108 lines
3.2 KiB
JSON
{
|
|
"Authentication": {
|
|
"Schemes": {
|
|
"Bearer": {
|
|
"ValidAudiences": [
|
|
"http://localhost:3000/"
|
|
],
|
|
"ValidIssuer": "Managing"
|
|
}
|
|
}
|
|
},
|
|
"Jwt": {
|
|
"Secret": "2ed5f490-b6c1-4cad-8824-840c911f1fe6"
|
|
},
|
|
"PostgreSql": {
|
|
"ConnectionString": "Host=localhost;Port=5432;Database=managing;Username=postgres;Password=postgres"
|
|
},
|
|
"InfluxDb": {
|
|
"Url": "http://influxdb:8086/",
|
|
"Organization": "",
|
|
"Token": ""
|
|
},
|
|
"Web3Proxy": {
|
|
"BaseUrl": "http://localhost:4111",
|
|
"MaxRetryAttempts": 2,
|
|
"RetryDelayMs": 1500,
|
|
"TimeoutSeconds": 30
|
|
},
|
|
"Kaigen": {
|
|
"BaseUrl": "https://kaigen-back-kaigen-stage.up.railway.app",
|
|
"DebitEndpoint": "/api/credits/debit",
|
|
"RefundEndpoint": "/api/credits/refund"
|
|
},
|
|
"N8n": {
|
|
"WebhookUrl": "https://n8n.kai.managing.live/webhook/fa9308b6-983b-42ec-b085-71599d655951",
|
|
"IndicatorRequestWebhookUrl": "https://n8n.kai.managing.live/webhook/3aa07b66-1e64-46a7-8618-af300914cb11",
|
|
"Username": "managing-api",
|
|
"Password": "T259836*PdiV2@%!eR%Qf4"
|
|
},
|
|
"Sentry": {
|
|
"Dsn": "https://fe12add48c56419bbdfa86227c188e7a@glitch.kai.managing.live/1",
|
|
"MinimumEventLevel": "Error",
|
|
"SendDefaultPii": true,
|
|
"MaxBreadcrumbs": 50,
|
|
"SampleRate": 1.0,
|
|
"TracesSampleRate": 0.2,
|
|
"Debug": false
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"ElasticConfiguration": {
|
|
"Uri": "http://elasticsearch:9200/"
|
|
},
|
|
"Discord": {
|
|
"BotActivity": "with trading strategies",
|
|
"HandleUserAction": true,
|
|
"ApplicationId": "966075382002516031",
|
|
"PublicKey": "63028f6bb740cd5d26ae0340b582dee2075624011b28757436255fc002ca8a7c",
|
|
"TokenId": "OTY2MDc1MzgyMDAyNTE2MDMx.Yl8dzw.xpeIAaMwGrwTNY4r9JYv0ebzb-U",
|
|
"SignalChannelId": 966080506473099314,
|
|
"TradesChannelId": 998374177763491851,
|
|
"TroublesChannelId": 1015761955321040917,
|
|
"CopyTradingChannelId": 1132022887012909126,
|
|
"RequestsChannelId": 1018589494968078356,
|
|
"FundingRateChannelId": 1263566138709774336,
|
|
"DebugChannelId": 1431289070297813044,
|
|
"ButtonExpirationMinutes": 10
|
|
},
|
|
"RunOrleansGrains": true,
|
|
"DeploymentMode": false,
|
|
"WorkerPricesFifteenMinutes": false,
|
|
"WorkerPricesOneHour": false,
|
|
"WorkerPricesFourHours": false,
|
|
"WorkerPricesOneDay": false,
|
|
"WorkerPricesFiveMinutes": false,
|
|
"WorkerSpotlight": false,
|
|
"WorkerTraderWatcher": false,
|
|
"WorkerLeaderboard": false,
|
|
"WorkerFundingRatesWatcher": false,
|
|
"WorkerGeneticAlgorithm": false,
|
|
"WorkerBundleBacktest": false,
|
|
"WorkerBalancesTracking": false,
|
|
"WorkerNotifyBundleBacktest": false,
|
|
"SqlMonitoring": {
|
|
"Enabled": true,
|
|
"LoggingEnabled": true,
|
|
"SentryEnabled": true,
|
|
"LoopDetectionEnabled": true,
|
|
"PerformanceMonitoringEnabled": true,
|
|
"LoopDetectionWindowSeconds": 60,
|
|
"MaxQueryExecutionsPesrWindow": 100,
|
|
"MaxMethodExecutionsPerWindow": 50,
|
|
"LongRunningQueryThresholdMs": 1000,
|
|
"SentryAlertThreshold": 5,
|
|
"SlowQueryThresholdMs": 1500,
|
|
"LogSlowQueriesOnly": false,
|
|
"LogErrorsOnly": false,
|
|
"DataRetentionMinutes": 300
|
|
},
|
|
"EnableSwagger": false
|
|
} |