@@ -35,7 +35,7 @@ module.exports = appInfo => {
// add your config here
config.cluster = {
listen: {
- port: 8103,
+ port: 8106,
},
};
@@ -8,9 +8,28 @@ module.exports = () => {
consoleLevel: 'DEBUG',
- // mongoose config
+ // mq config
+ config.amqp = {
+ client: {
+ hostname: '127.0.0.1',
+ username: 'wy',
+ password: '1',
+ vhost: 'smart',
+ },
+ app: true,
+ agent: true,
+ };
+
config.mongoose = {
- url: 'mongodb://172.17.116.100:27017/smart',
+ url: 'mongodb://localhost:27017/smart',
+ options: {
+ user: 'demo',
+ pass: 'demo',
+ authSource: 'admin',
+ useNewUrlParser: true,
+ useCreateIndex: true,
+ useUnifiedTopology: true,
return config;