-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdefaults.js
90 lines (90 loc) · 1.65 KB
/
defaults.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
module.exports = {
name: 'Interrogative',
url: 'https://interrogative.io',
domain: 'interrogative.io',
manager: {
port: 1311,
host: '0.0.0.0',
storage: '/interrogative/interviews',
bootstrap: true,
engine: { socketPath: '/var/run/docker.sock' },
networks: {
container: 'interrogative',
database: 'interrogative-db',
},
},
database: {
retry: 5000,
slowStart: 10000,
url: 'mongodb://mongo:27017/interrogative',
},
sessions: { cookie: 'interrogative-session' },
oplog: {
retry: 5000,
url: 'mongodb://mongo:27017/local',
},
metadata: {
port: 1312,
host: '0.0.0.0',
},
container: {
port: 1313,
host: '0.0.0.0',
ttl: '2h',
heartbeat: '30s',
openMaxSize: 524288,
persistence: {
directory: '~/.interrogative',
interval: 300000,
},
},
interaction: {
port: 1314,
host: '127.0.0.1',
},
uploads: {
maxSize: 10485760,
path: '~/uploads',
},
messenger: {
concurrency: 2,
interval: 30000,
smtp: {
incoming: {
host: '0.0.0.0',
port: 25,
securePort: 587,
},
outgoing: {
host: 'localhost',
port: 25,
},
},
},
files: {
depth: 5,
exclusions: [
'.bash_history$',
'.bash_logout$',
'.bashrc$',
'.cache$',
'.config$',
'.emacs$',
'.emacs.d',
'.git$',
'.gitconfig$',
'.gitignore$',
'.interrogative',
'.local$',
'.node-gyp$',
'.profile$',
'.ssh$',
'.swp$',
'.venv$',
'.yarn$',
'node_modules',
'python3.7',
'site-packages',
],
},
};