-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.js
More file actions
46 lines (38 loc) · 1.07 KB
/
settings.js
File metadata and controls
46 lines (38 loc) · 1.07 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
//
//
// settings.js
//
//
var settings = exports.settings = {
projectName: 'Demo', // unique project name under this user
lobbyPort: 37070, // port for main lobby server
domain: SR.Settings.DOMAIN_LOBBY, // external domain name for lobby server
adminMail: '<admin@domain.com>',
// password reset path
reset_url: 'http://' + this.domain + ':' + (this.lobbyPort + SR.Settings.PORT_INC_HTTP) + '/web/demo-setpass.html',
// app server's settings
apps: {
'app': {
local_name: 'AppServer'
},
'lobby': {
local_name: 'LobbyServer'
}
},
// file paths to secure keys (needed by HTTPS services, etc)
keys: {
privatekey: __dirname + '/keys/privatekey.pem',
certificate: __dirname + '/keys/certificate.pem'
},
// whether to connect to monitor server by default
CONNECT_MONITOR_ONSTART: false,
// settings for load balancing servers
servers: {
min: 0,
max: 3,
overload: 100,
//underload: 0
}
};
// project-specific MongoDB settings
settings.mongoAccess = {"DB_name":"scalra-demo","username":"scalra-demo","password":"scalra-demo"};