-
Notifications
You must be signed in to change notification settings - Fork 46
/
config.js
46 lines (44 loc) · 1.16 KB
/
config.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
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,
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.image.service',
'@ngageoint/mage.nga-msi',
'@ngageoint/mage.random',
],
webUIPlugins: [
'@ngageoint/mage.arcgis.web-app'
],
},
}
}