12345678910111213141516171819202122 |
- 'use strict';
- module.exports = () => {
- const config = exports = {};
- config.logger = {
- level: 'INFO',
- consoleLevel: 'INFO',
- };
- config.dbName = 'dbInit';
- config.mongoose = {
- url: `mongodb://localhost:27017/${config.dbName}`,
- options: {
- user: 'admin',
- pass: 'admin',
- authSource: 'admin',
- useNewUrlParser: true,
- useCreateIndex: true,
- },
- };
- return config;
- };
|