UNPKG

1.66 kBJSONView Raw
1{
2 /*
3 @type string
4 @description The IP address for the service to listen to.
5 */
6 "binding_ip": "0.0.0.0",
7
8 /*
9 @type number
10 @description The port number for the service to listen to
11 */
12 "port": 8080,
13
14 /*
15 @type string
16 @description The header name of the authentication token
17 */
18 "authentication_header": "X-BT-AUTH",
19
20 /*
21 @type string
22 @description The header name of the backend secret
23 */
24 "backend_authentication_header": "X-BT-BACKEND-AUTH",
25
26 /*
27 @type string
28 @description The backend secret used for backend APIs
29 */
30 "backend_authentication_secret": null,
31
32 /*
33 @type string
34 @description The application log level.
35 Valid Values:
36 - trace
37 - debug
38 - info
39 - warning
40 - error
41 - fatal
42 - all
43 */
44 "log_level": "info | warning | error | fatal",
45
46 /*
47 @type Array<string>
48 @description Suppresses logging to log messages matching the listed regex patterns
49 */
50 "log_filters": ["/TokenExpiredError/g"],
51
52 /*
53 @type number
54 @description The timeout limit for inactive database connections. If 0, the timeout is disabled
55 @default 3600000
56 */
57 "query_timeout": 3600000,
58
59 /*
60 @type number
61 @description The maximum size in bytes that this service is capable of handling.
62 @default 5242880
63 */
64 "request_size_limit": 5242880
65}