forked from microreact/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
microreact_config_example.js
64 lines (64 loc) · 1.57 KB
/
microreact_config_example.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
module.exports = {
downloadActions: [
{
id: "addtocluster",
label: "Add selection to cluster",
type: "selection",
url: "https://dev2.sofi-platform.dk/cluster"
},
{
id: "createnewworkspace",
label: "Create new workspace from selection",
type: "selection",
url: "https://dev2.sofi-platform.dk/workspaces/new"
}
],
auth: {
email: {
server: {
host: "mailhog",
port: 1025,
auth: {
user: "user",
pass: "test"
},
secure: false
},
from: "Microreact <[email protected]>",
subject: "Login link for Microreact",
text: "Hello!\nAccess your account here: http://localhost:80/auth/passwordless/callback?token=<%= tokenToSend %>&uid=",
html: "views/emails/passwordless.html"
},
secret: process.env.AUTH_SECRET,
session: {
maxAge: 2592000,
updateAge: 86400
}
},
baseUrl: "https://ms.local/",
bodySizeLimit: "16mb",
experimentalFlags: {
publicFolders: false
},
helpDesk: {
email: "[email protected]",
subject: "Feedback from Microreact.org"
},
mapboxApiAccessToken: "pk.eyJ1IjoiY2dwc2RldiIsImEiOiJja2lhMndmN3AwbGpzMnhvNWZ0eWc3cWhoIn0.SDSaZCcDFP9s812jX1tzeA",
mongodb: {
url: process.env.MONGODB_CONNECTION,
database: process.env.MONGODB_DATABASE
},
repoPath: "./files",
showcaseFolders: [],
smtp: {
host: "mailhog",
port: 1025,
auth: {
user: "user",
pass: "test"
},
secure: false,
from: "Microreact <[email protected]>"
}
};