-
Notifications
You must be signed in to change notification settings - Fork 13
/
config-default.js
74 lines (74 loc) · 1.81 KB
/
config-default.js
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
module.exports = {
http: {
port: 8080,
// portSecure: 8443,
hostname: 'localhost',
// key: './cert/key.pem',
// cert: './cert/cert.pem',
tls: false,
limit: '1Mb'
},
grpc: {
hostname: 'localhost',
port: 9090,
timeout: 20000, // ms, gRPC deadline for service calls
maxMessageLength: 50, // MB, gRPC receive message limit
label: 'Control',
package: 'o2control'
},
apricot: {
hostname: 'localhost',
port: 9090,
timeout: 20000, // ms, gRPC deadline for service calls
maxMessageLength: 50, // MB, gRPC receive message limit
label: 'Apricot',
package: 'apricot'
},
grafana: {
url: 'http://localhost:3000'
},
bookkeeping: {
url: 'http://localhost:4000',
token: 'some-token',
refreshRate: 10000,
},
consul: {
ui: 'localhost:8500',
hostname: 'localhost',
port: 8500,
flpHardwarePath: 'o2/hardware/key/prefix',
detHardwarePath: 'o2/hardware/detectors',
readoutPath: 'o2/components/readout/key/prefix',
readoutCardPath: 'o2/components/readoutcard/key/prefix',
qcPath: 'o2/components/qc/key/prefix',
kVPrefix: 'o2/cluster/key/prefix',
coreServices: 'o2/components/aliecs/some/settings/path',
},
infoLoggerGui: {
url: 'localhost:8081',
},
infoLoggerEpnGui: {
url: 'localhost:8083',
},
qcGui: {
url: 'qcg.cern.ch'
},
utils: {
refreshTask: 10000, // how often should task list page should refresh its content
},
logging: {
infologger: false,
},
// infoLoggerGui: {
// hostname: 'localhost',
// port: 8081
// }
// JWT manages user's session duration
// https://github.com/AliceO2Group/WebUi/blob/dev/Framework/docs/guide/json-tokens.md
// jwt: {
// secret: '<secret>',
// issuer: 'alice-o2-gui',
// expiration: '1d',
// maxAge: '1d'
// },
};