-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js.example
65 lines (53 loc) · 1.22 KB
/
config.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
65
// copy this file to config.js, and change the values below to real ones
// manager - redis login details (required)
// live - default values for live config values (required)
module.exports = {
development: {
port: 3000,
log: 1, // 1: error/warn, 2: info, 3: debug
// guards dashboard and full snapshot data
admin: "admin",
manager: {
port: 6379,
host: "localhost",
password: null
},
slack: {
tokens: [],
hooks: []
},
// will be overridden by values in redis
live: {
chat: "true",
death_interval: 60000,
heartbeat_interval: 35000,
mouse_rate: 50,
ghost_duration: 2000,
ghost_max: 10
}
},
production: {
port: 3000,
log: 1, // 1: error/warn, 2: info, 3: debug
// change this in production
admin: "admin",
manager: {
port: 6379,
host: "localhost",
password: null
},
slack: {
tokens: [],
hooks: []
},
// will be overridden by values in redis
live: {
chat: "true",
death_interval: 60000,
heartbeat_interval: 35000, // heroku needs activity every < 55s
mouse_rate: 50,
ghost_duration: 2000,
ghost_max: 10
}
}
}