12345678910111213141516171819202122232425262728293031 |
- 'use strict';
- module.exports = () => {
- const config = exports = {};
- // add your config here
- config.cluster = {
- listen: {
- port: 8002,
- },
- };
- // mongoose config
- config.mongoose = {
- url: 'mongodb://localhost:27018/naf',
- options: {
- user: 'root',
- pass: 'Ziyouyanfa#@!',
- authSource: 'admin',
- useNewUrlParser: true,
- useCreateIndex: true,
- },
- };
- config.logger = {
- // level: 'DEBUG',
- // consoleLevel: 'DEBUG',
- };
- return config;
- };
|