-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start using nodemon and app.ts for service start
- Loading branch information
Clinton Werth
authored and
Clinton Werth
committed
Dec 19, 2024
1 parent
e4af45c
commit 684df60
Showing
4 changed files
with
161 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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' | ||
], | ||
}, | ||
} | ||
} |