forked from AliceO2Group/InfoLoggerGui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-default.js
41 lines (41 loc) · 906 Bytes
/
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
module.exports = {
jwt: {
secret: '--',
issuer: 'alice-o2-gui',
expiration: '1d',
maxAge: '1d'
},
oAuth: {
secret: '--',
id: '--',
tokenHost: 'https://oauth.web.cern.ch',
tokenPath: '/OAuth/Token',
authorizePath: '/OAuth/Authorize',
redirect_uri: 'https://vcap.me:8443/callback',
scope: 'https://oauthresource.web.cern.ch/api/User',
state: '3(#0/!~',
resource: {
hostname: 'oauthresource.web.cern.ch',
path: '/api/User',
port: 443
}
},
http: {
port: 8080,
portSecure: 8443,
hostname: 'vcap.me',
key: './cert/key.pem',
cert: './cert/cert.pem'
},
infoLoggerServer: {
host: 'localhost',
port: 6102
},
mysql: { // all options: https://github.com/mysqljs/mysql#connection-options
host: '127.0.0.1',
user: 'root',
password: '--',
database: 'INFOLOGGER',
port: 3306
}
};