-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappsettings.json
58 lines (58 loc) · 1.6 KB
/
appsettings.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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"EveryOnePremium": false,
"AllowedHosts": "*",
"SKYCOMMANDS_HOST": "localhost:8008",
"MCCONNECT_HOST": "mcconnect",
"UPDATER_HOST": "updater",
"REDIS_HOST": "redis",
"SKYFLIPPER_HOST": "flipper",
"PAYMENTS_HOST": "payment",
"INDEXER_HOST": "indexer",
"SUBSCRIPTION_HOST": "subscription",
"TRACKER_HOST": "tracker",
"JAEGER_SERVICE_NAME": "sky-commands",
"JAEGER_AGENT_HOST": "jaeger",
"KAFKA_HOST": "kafka:9092",
"JAEGER_SAMPLER_TYPE": "ratelimiting",
"JAEGER_SAMPLER_PARAM": "2",
"TOPICS": {
"MISSING_AUCTION": "sky-canceledauction",
"SOLD_AUCTION": "sky-soldauction",
"AUCTION_ENDED": "sky-endedauction",
"FLIP": "sky-flip",
"SETTINGS_CHANGE": "sky-settings"
},
"IpRateLimiting": {
"EnableEndpointRateLimiting": false,
"StackBlockedRequests": false,
"RealIpHeader": "X-Real-IP",
"ClientIdHeader": "X-ClientId",
"HttpStatusCode": 429,
"EndpointWhitelist": [
"get:/api/license",
"*:/api/status"
],
"IpWhitelist": [
"::1/10",
"172.27.0.0/24"
],
"GeneralRules": [{
"Endpoint": "*",
"Period": "10s",
"Limit": 20
},
{
"Endpoint": "*",
"Period": "1m",
"Limit": 100
}
]
}
}