UNPKG

generator-rem-server

Version:

A generator for creating REM Servers. REM Server stands for Robert's Express & Mongo Server.

37 lines (32 loc) 724 B
const milieu = require('milieu'); const config = milieu('<%= serverConfigName %>', { server: { url : 'http://localhost:8000', maxResultsLimit: 1000 }, mongo: { url: 'mongodb://localhost/<%= databaseName %>' }, vault: { url : '', token: '' }, consul: { url : 'http://localhost:8500', statusPath: '/status', interval : 6000 }, logger: { sentry: { dsn: '' }, console: { level : 'silly', timestamp : true, handleExceptions : true, humanReadableUnhandledException: true, colorize : true } } }); module.exports = config;