-
Notifications
You must be signed in to change notification settings - Fork 10
/
default.json
48 lines (48 loc) · 1.12 KB
/
default.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
{
"env": "development",
"port": 3000,
"apiKey": "api-key",
"db": {
"url": "postgres://username:password@host:port/database",
"logQueries": false
},
"swagger": {
"enabled": true,
"endpoint": "docs",
"title": "nest-boilerplate",
"description": "A starter template for NestJS with support for swagger, config, logging, validation, exception handling, docker, testing and CI.",
"contact": {
"name": "Mark Njung'e",
"url": "https://marknjunge.com",
"email": "contact@marknjunge.com"
}
},
"rateLimit": {
"enabled": true,
"max": 100,
"timeWindow": 60
},
"cors": {
"origins": "*",
"methods": "*",
"allowedHeaders": "*"
},
"validator": {
"forbidUnknown": true
},
"logging": {
"timestampFormat": "YYYY-MM-DD HH:mm:ss.SSS",
"logDataConsole": false
},
"fileUpload": {
"maxSize": 5242880,
"removeAfterUpload": true
},
"instrumentation": {
"enabled": false,
"debug": false,
"traceUrl": "http://localhost:4318/v1/traces",
"metricsUrl": "http://localhost:4318/v1/metrics",
"lokiHost": "http://127.0.0.1:9100"
}
}