-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdefault.json
51 lines (51 loc) · 1.18 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
49
50
51
{
"ADMIN_PORT": 4001,
"API_PORT": 4002,
"DATABASE": {
"DIALECT": "mysql",
"HOST": "mysql-als",
"PORT": 3306,
"USER": "account_lookup",
"PASSWORD": "password",
"DATABASE": "account_lookup",
"POOL_MIN_SIZE": 10,
"POOL_MAX_SIZE": 10,
"ACQUIRE_TIMEOUT_MILLIS": 30000,
"CREATE_TIMEOUT_MILLIS": 30000,
"DESTROY_TIMEOUT_MILLIS": 5000,
"IDLE_TIMEOUT_MILLIS": 30000,
"REAP_INTERVAL_MILLIS": 1000,
"CREATE_RETRY_INTERVAL_MILLIS": 200,
"DEBUG": false
},
"DISPLAY_ROUTES": true,
"RUN_MIGRATIONS": true,
"CENTRAL_SHARED_ENDPOINT_CACHE_CONFIG": {
"expiresIn": 180000,
"generateTimeout": 30000
},
"SWITCH_ENDPOINT": "http://localhost:3001",
"INSTRUMENTATION": {
"METRICS": {
"DISABLED": false,
"labels": {
"fspId": "*"
},
"config": {
"timeout": 5000,
"prefix": "moja_",
"defaultLabels": {
"serviceName": "account-lookup-service"
}
}
}
},
"ENDPOINT_SECURITY":{
"JWS": {
"JWS_SIGN": false,
"FSPIOP_SOURCE_TO_SIGN": "switch",
"JWS_SIGNING_KEY_PATH": "secrets/jwsSigningKey.key"
}
},
"API_DOC_ENDPOINTS_ENABLED": true
}