108 lines
2.8 KiB
JSON
108 lines
2.8 KiB
JSON
{
|
|
"PostgreSql": {
|
|
"ConnectionString": "Host=srv-captain--managing-postgre;Port=5432;Database=managing;Username=postgres;Password=29032b13a5bc4d37",
|
|
"Orleans": "Host=srv-captain--managing-postgre;Port=5432;Database=orleans;Username=postgres;Password=29032b13a5bc4d37"
|
|
},
|
|
"InfluxDb": {
|
|
"Url": "http://srv-captain--influx-db:8086/",
|
|
"Organization": "managing-org",
|
|
"Token": "zODh8Hn8sN5VwpVJH0HAwDpCJPE4oB5IUg8L4Q0T67KM1Rta6PoM0nATUzf1ddkyWx_VledooZXfFIddahbL9Q=="
|
|
},
|
|
"Kaigen": {
|
|
"BaseUrl": "https://kaigen-back-kaigen-stage.up.railway.app",
|
|
"DebitEndpoint": "/api/credits/debit",
|
|
"RefundEndpoint": "/api/credits/refund"
|
|
},
|
|
"Web3Proxy": {
|
|
"BaseUrl": "http://srv-captain--web3-proxy:4111",
|
|
"MaxRetryAttempts": 2,
|
|
"RetryDelayMs": 1500,
|
|
"TimeoutSeconds": 30
|
|
},
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"System": "Warning"
|
|
}
|
|
}
|
|
},
|
|
"ElasticConfiguration": {
|
|
"Uri": "http://elasticsearch:9200"
|
|
},
|
|
"SqlMonitoring": {
|
|
"Enabled": true,
|
|
"LoggingEnabled": true,
|
|
"SentryEnabled": false,
|
|
"LoopDetectionEnabled": true,
|
|
"LogSlowQueriesOnly": false
|
|
},
|
|
"RunOrleansGrains": true,
|
|
"AllowedHosts": "*",
|
|
"Cors": {
|
|
"AllowedOrigins": [
|
|
"https://kaigen-web-kaigen-stage.up.railway.app",
|
|
"https://dev-managing-api.apps.managing.live",
|
|
"https://web-ui.kai.managing.live",
|
|
"http://localhost:3000"
|
|
]
|
|
},
|
|
"Authentication": {
|
|
"Schemes": {
|
|
"Bearer": {
|
|
"ValidIssuer": "https://dev-managing-api.apps.managing.live",
|
|
"ValidAudiences": [
|
|
"https://kaigen-web-kaigen-stage.up.railway.app",
|
|
"https://web-ui.kai.managing.live",
|
|
"http://localhost:3000"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"Jwt": {
|
|
"ValidateIssuer": true,
|
|
"ValidateAudience": true,
|
|
"ClockSkewSeconds": 0
|
|
},
|
|
"IpRateLimiting": {
|
|
"EnableEndpointRateLimiting": true,
|
|
"StackBlockedRequests": false,
|
|
"RealIpHeader": "X-Real-IP",
|
|
"ClientIdHeader": "X-ClientId",
|
|
"HttpStatusCode": 429,
|
|
"IpWhitelist": [],
|
|
"EndpointWhitelist": [],
|
|
"ClientWhitelist": [],
|
|
"GeneralRules": [
|
|
{
|
|
"Endpoint": "*",
|
|
"Period": "1m",
|
|
"Limit": 100
|
|
},
|
|
{
|
|
"Endpoint": "POST:/user/create-token",
|
|
"Period": "1m",
|
|
"Limit": 5
|
|
},
|
|
{
|
|
"Endpoint": "POST:*",
|
|
"Period": "1m",
|
|
"Limit": 30
|
|
}
|
|
]
|
|
},
|
|
"IpRateLimitPolicies": {
|
|
"IpRules": [],
|
|
"ClientRules": [],
|
|
"EndpointRules": []
|
|
},
|
|
"Kestrel": {
|
|
"Limits": {
|
|
"MaxRequestBodySize": 10485760,
|
|
"MaxRequestHeadersTotalSize": 32768,
|
|
"MaxConcurrentConnections": 100,
|
|
"MaxConcurrentUpgradedConnections": 100
|
|
}
|
|
}
|
|
} |