This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.js.example
64 lines (54 loc) · 1.79 KB
/
settings.js.example
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
//
//
// settings.js
//
//
var settings = exports.settings = {
projectName: 'ezCare', // unique project name under this user
lobbyPort: 38200, // port for main lobby server
domain: SR.Settings.DOMAIN_LOBBY, // external domain name for lobby server
adminMail: 'syhu@imonology.com',
// password reset path
reset_url: 'http://' + this.domain + ':' + (this.lobbyPort + SR.Settings.PORT_INC_HTTP) + '/web/demo-setpass.html',
// FB settings (in array form)
FB: [
{
app_id: '<FB_app_id>', // FB application ID
app_secret: '<FB_app_secret>', // FB app secret
app_name: 'Demo', // unique application name
app_url: 'http://' + this.domain + ':' + (this.lobbyPort + SR.Settings.PORT_INC_HTTP) + '/web/demo-login.html',
canvas_url: 'http://' + this.domain + ':' + (this.lobbyPort + SR.Settings.PORT_INC_FB) + '/Demo/',
refuse_url: 'http://www.imoncloud.com', // which URL to redirect if permission is not granted
permission: 'email' // ex. 'email,user_about_me,user_birthday,user_photos'
}
],
// app server's settings
apps: {
'lobby': {
local_name: '應用伺服器'
}
},
// default admin account/password to MongoDB
// NOTE: this is needed if you want to allow Scalra to create the project DB for you,
// otherwise if DB account/pass can be configured same as 'mongoAccess', then this is not needed
DB_ADMIN: {
account: 'dbadmin',
pass: 'dbadmin-pass'
},
// file paths to secure keys (needed by HTTPS services, etc)
keys: {
privatekey: __dirname + '/keys/privatekey.pem',
certificate: __dirname + '/keys/certificate.pem'
},
// settings for starting servers
servers: {
min: 0,
max: 3,
overload: 100,
//underload: 0
},
rethinkdb: {
host: 'rethinkdb',
port: 28015
}
};