-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathappsettings.json
121 lines (121 loc) · 3.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"AllowedHosts": "*",
"Authentication": {
"Basic": {
"IsEnabled": false,
"Password": "Adc3u-Upoijsd124$Ui!",
"UserName": "uat"
},
"Cookie": {
"AccessDeniedPath": "/errors/access-denied",
"AuthenticationScheme": "GB",
"CookieName": "GB",
"IsEnabled": true,
"LoginPath": "/userlogins/new"
},
"Google": {
"ClientId": "",
"ClientSecret": "",
"IsEnabled": false
},
"Microsoft": {
"ClientId": "",
"ClientSecret": "",
"IsEnabled": false
}
},
"ConnectionStrings": {
"Api": "Data Source=.; Database=GravityBootsApi; user id=gbuser; password=passw0rd!; Encrypt=false;"
},
"Email": {},
"IpRateLimiting": {
"EnableEndpointRateLimiting": false,
"StackBlockedRequests": false,
"HttpStatusCode": 429,
"GeneralRules": [
{
"Endpoint": "*",
"Period": "1s",
"Limit": 30
},
{
"Endpoint": "*",
"Period": "15m",
"Limit": 10000
},
{
"Endpoint": "*",
"Period": "12h",
"Limit": 10000
},
{
"Endpoint": "*",
"Period": "7d",
"Limit": 100000
}
]
},
"Logging": {
"LogLevel": {
"Default": "Warning"
}
},
"Seeds": {
"DefaultUserPassword": "passw0rd!"
},
"Serilog": {
"Enrich": [
"WithMachineName",
"FromLogContext"
],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft.EntityFrameworkCore.Database.Command": "Warning",
"Microsoft.EntityFrameworkCore.Query.IncludeIgnoredWarning": "Error",
"Microsoft.EntityFrameworkCore.Query.RowLimitingOperationWithoutOrderByWarning": "Error",
"Microsoft.EntityFrameworkCore.Model.Validation.BoolWithDefaultWarning": "Error"
}
},
"Properties": {
"Application": "gb-api"
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"restrictedToMinimumLevel": "Information",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Application} {SourceContext} {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "C:\\inetpub\\logs\\AppLogs\\gb-api..txt",
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Application} {SourceContext} {Message:lj}{NewLine}{Exception}",
"restrictedToMinimumLevel": "Warning",
"rollingInterval": "Day"
}
}
]
},
"Version": "0.0.0.{BUILD_NUMBER}",
"WorkersHangfire": {
"IsDashboardEnabled": true,
"IsServerEnabled": true,
"Password": "",
"Queues": [
"default"
],
"SqlServerOptions": {
"CommandBatchMaxTimeout": 5,
"DisableGlobalLocks": true,
"QueuePollInterval": 0,
"SlidingInvisibilityTimeout": 5,
"UsePageLocksOnDequeue": true,
"UseRecommendedIsolationLevel": true
},
"Ssl": false,
"WorkerCount": "4"
}
}