-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js.dist
99 lines (84 loc) · 1.9 KB
/
config.js.dist
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
#!/usr/bin/env node
module.exports = {
/* be verbose about stuff */
debug: false,
/* mongodb config */
db: "lobbycloud",
/* elasticsearch config */
elasticsearch: {
index: "lobbycloud",
connect: {
log: "trace",
host: "localhost:9200"
}
},
/* folder where document files are stored */
storage: "storage",
/* public base url, no trailing slash */
url: "http://beta.lobbycloud.eu",
/* locales for i18n */
locales: ["en","de"],
/* upload configuration */
upload: {
tmp: "tmp", // tmp upload folder
mimetypes: ["application/pdf"], // allowed mimetypes
fileext: ["pdf"], // allowed file extensions
filesize: 26214400 // maximum filesize in bytes
},
/* express webserver config */
listen: {
/* connect via socket */
socket: "/wherever/whatever.sock",
/* or tcp (remove the socket propery then) */
host: "127.0.0.1",
port: 3000
},
/* passport config */
passport: {
secret: 'keyboard cat is so super happy'
},
/* sqlite with beta signups */
signupdb: "data/signup.sqlite",
/* json with invite keys */
invitedb: "data/invites.json",
/* validation & passwort reset e-mails tasks */
mails: {
dbfile: "data/mails.json",
from: "LobbyCloud <[email protected]>",
waitperiod: (5 * 60 * 1000),
expiredperiod: (6 * 60 * 60 * 60 * 1000),
maxqueueworker: 3,
// transport: {name: "sendmail"},
transport: {
name: "SMTP",
service: "Gmail",
auth: {
user: "[email protected]",
pass: ""
}
},
templates: {
verify: {
urlpath: "/users/verification/",
mailview: "verification",
title: {
txt: "[LobbyCloud] Please verify your email '%s'",
propname: "email"
}
},
reset: {
urlpath: "/users/reset/",
mailview: "reset",
title: {
txt: "[LobbyCloud] Password reset",
propname: "email"
}
}
},
maintenance: {
bootstrap_admin:false,
upgrade_data:false,
reindex_docs:false
}
}
};