forked from BlueOakJS/blueoak-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefaults.json
56 lines (48 loc) · 1004 Bytes
/
defaults.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
{
"logger": {
"levels": { "silly": 0, "debug": 1, "verbose": 2, "info": 3, "warn": 4, "error": 5 },
"colors": { "silly": "magenta", "debug": "cyan", "verbose": "blue", "info": "green", "warn": "yellow", "error": "red" },
"transports": [
{
"package": "winston",
"field": "transports.Console",
"options": {
"level": "debug",
"colorize": true
}
}
],
"showLocation": true
},
"crashDump": {
"enable": false,
"length": 1000,
"type": "console"
},
"cluster": {
"maxWorkers": 1
},
"session": {
"type": "cookie"
},
"express": {
"port": 3000
},
"monitor": {
"port": 8125 //statsd port
},
"express-monitor": {
"prefix": "express"
},
"swagger": {
"context": "/swagger",
"serve": true,
"useLocalhost": true
},
"node": {
"version": {
"min": "^4.4.4 || ^5.11.1 || ^6.1.0",
"recommended": "4.4.4" //May '16 security update
}
}
}