21 lines
622 B
JavaScript
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}'
|
|
}
|
|
|
|
};
|