forked from scrollback/scrollback
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmyConfig.sample.js
68 lines (66 loc) · 1.14 KB
/
myConfig.sample.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
var myConfig = {
core: {
uid: 1000,
name: "scrollback"
},
mysql: {
host: "localhost",
user: "scrollback",
password: "scrollback",
database: "scrollback"
},
originnotify: {
from: "[email protected]",
to: "[email protected]"
},
http: {
/**
* Edit this to enable https
https: {
key: "../scrollback-ssl/scrollback.io.key",
cert: "../scrollback-ssl/scrollback.io.crt",
port: 443
},
*/
host: "local.scrollback.io",
cookieDomain: ".scrollback.io",
port: 80,
home: "public", // directory containing static files
time: 60000,
limit: 30
},
auth: {
audience: "local.scrollback.io"
},
redis: {
host: "local.scrollback.io",
port: 6379,
db: 0
},
whitelists: {
internalSession: true
},
threader: {
host: "local.scrollback.io",
port: 55555
},
irc: {
nick: "scrollback", // name of the irc bot
hangTime: 60000 // timeout before disconnecting
},
plugins: [
"anti-flood",
"authorizer",
"validator",
"browserid-auth",
"anti-abuse",
"entityloader",
"threader",
"http",
"redis-storage",
"leveldb-storage",
"admin-notifier",
"entityloader"
]
};
module.exports = myConfig;