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