-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathconfig.js
More file actions
52 lines (50 loc) · 1.4 KB
/
Copy pathconfig.js
File metadata and controls
52 lines (50 loc) · 1.4 KB
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
const path = require('path')
const baseDir = path.resolve(__dirname, '../scratch')
module.exports = {
mage: {
address: '127.0.0.1',
port: 4242,
attachmentDir: path.join(baseDir, 'attachments'),
exportDir: path.join(baseDir, 'exports'),
iconDir: path.join(baseDir, 'icons'),
layerDir: path.join(baseDir, 'layers'),
securityDir: path.join(baseDir, 'security'),
tempDir: '/tmp',
userDir: path.join(baseDir, 'users'),
exportSweepInterval: 28800,
exportTTL: 259200,
tokenExpiration: 28800,
logLevel: 'info',
logFormat: 'json',
httpDebug: false,
httpRequestLogMethods: 'GET,POST,PUT,PATCH,DELETE',
sftpKeyDir: path.join(baseDir, 'sftp-keys'),
sftpKeyFile: path.join(baseDir, 'sftp-keys', 'mage-sftp-key'),
mongo: {
url: 'mongodb://127.0.0.1:27017/magedb',
connTimeout: 300,
connRetryDelay: 5,
minPoolSize: 5,
maxPoolSize: 5,
ssl: false,
user: undefined,
password: undefined,
replicaSet: undefined,
x509Key: undefined,
x509KeyFile: undefined,
x509Cert: undefined,
x509CertFile: undefined,
},
plugins: {
servicePlugins: [
'@ngageoint/mage.arcgis.service',
'@ngageoint/mage.sftp.service',
'@ngageoint/mage.nga-msi'
],
webUIPlugins: [
'@ngageoint/mage.arcgis.web-app',
'@ngageoint/mage.sftp.web'
],
},
}
}