-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig-example.js
More file actions
65 lines (59 loc) · 1.29 KB
/
config-example.js
File metadata and controls
65 lines (59 loc) · 1.29 KB
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
var fs = require('fs');
var splitca = require('split-ca');
module.exports = {
webServerPort: 8080,
/* MySQL config */
MySQL_Hostname: 'localhost',
MySQL_Username: 'root',
MySQL_Password: '',
MySQL_Database: 'janusvr',
/* Redis config */
redis: {
host: "127.0.0.1",
port: 6379,
//password: null
},
/* SSL config */
ssl: {
port: 8081,
options: {
ca: splitca('cert/cabundle.pem'),
key: fs.readFileSync('cert/server-key.pem'),
cert: fs.readFileSync('cert/server-cert.pem'),
}
},
/* AWS config */
aws: {
secretAccessKey: '',
accessKeyId: '',
region: '',
screenshotBucket: ''
},
/* API Config */
apis: {
popularRooms: {
enabled: true,
},
addThumb: {
enabled: true,
masterToken: 'changethis'
},
partyList: {
enabled: true,
presence_db: "janusvr_server"
},
karanStudy: {
enabled: false
},
user: {
enabled: true
},
perfLog: {
enabled: true,
db: "perflogs"
},
screenshot: {
enabled: false
}
}
}