Spotter-VM/openmapkit/setup/srv/openmapkit/conf/settings.js
2018-09-13 14:08:52 +02:00

21 lines
622 B
JavaScript

module.exports = {
name: 'OpenMapKit Server',
description: 'OpenMapKit Server is the lightweight server component of OpenMapKit that handles the collection and aggregation of OpenStreetMap and OpenDataKit data.',
port: 8080,
dataDir: __dirname + '/data',
pagesDir: __dirname + '/frontend/build',
hostUrl: 'http://posm.io',
osmApi: {
server: 'http://osm.posm.io',
user: 'POSM',
pass: ''
},
// To do simple authentication, you can have an object like so:
auth: {
user: '${OPENMAPKIT_ADMIN_USER}',
pass: '${OPENMAPKIT_ADMIN_PWD}'
}
};