123456789101112131415161718192021222324252627282930313233343536 |
- 'use strict';
- module.exports = () => {
- const config = (exports = {});
- config.logger = {
- level: 'DEBUG',
- consoleLevel: 'DEBUG',
- };
- // mq config
- config.amqp = {
- client: {
- hostname: '127.0.0.1',
- username: 'wy',
- password: '1',
- vhost: 'smart',
- },
- app: true,
- agent: true,
- };
- config.mongoose = {
- url: 'mongodb://localhost:27017/smart',
- options: {
- user: 'demo',
- pass: 'demo',
- authSource: 'admin',
- useNewUrlParser: true,
- useCreateIndex: true,
- useUnifiedTopology: true,
- },
- };
- return config;
- };
|