-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappsettings.Development.json
66 lines (65 loc) · 1.65 KB
/
appsettings.Development.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"Kestrel": {
"EndPoints": {
"Http": {
"Url": "http://127.0.0.1:64808"
}
}
},
"ConnectionStrings": {
"PostgreSQLConnectionString": "User ID=anyuser;Password=anypassword;Host=localhost;Port=5432;Database=AnyDB;Pooling=true;",
"SQLDBConnectionString": "Data Source=server_ip;Initial Catalog=API;User Id=sa;Password=any_password;Application Name=WebAPI;"
},
"Domain": {
"URL": "http://domain.local/"
},
"ApiResourceBaseUrls": {
"AuthServer": "http://localhost:64808/api/v1/Authentication"
},
"Self": {
"Id": "api.core",
"Secret": "0a2e472b-f263-43fd-8372-3b13f5acf222",
"TimeoutDays": 1
},
"HttpClientPolicies": {
"RetryCount": 3,
"RetryDelayInMs": 1500,
"RetryTimeoutInSeconds": 5,
"BreakDurationInSeconds": 30,
"MaxAttemptBeforeBreak": 3,
"HandlerTimeoutInMinutes": 525000
},
"IpRateLimiting": {
"EnableEndpointRateLimiting": false,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"GeneralRules": [
{
"Endpoint": "*:/api/*",
"Period": "1s",
"Limit": 3
}
]
},
"HealthChecksUI": {
"HealthChecks": [
{
"Name": "HTTP Basic",
"Uri": "http://localhost:64808/selfcheck"
}
],
"Webhooks": [
{
"Name": "",
"Uri": "",
"Payload": "",
"RestoredPayload": ""
}
],
"EvaluationTimeInSeconds": 10,
"MinimumSecondsBetweenFailureNotifications": 60,
"HealthCheckDatabaseConnectionString": "Data Source=src\\Infrastructure\\HealthChecks\\Db\\healthchecks.db"
}
}