config.prod.js 357 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. module.exports = () => {
  3. const config = exports = {};
  4. config.logger = {
  5. // level: 'DEBUG',
  6. // consoleLevel: 'DEBUG',
  7. };
  8. // mongoose config
  9. config.mongoose = {
  10. url: 'mongodb://127.0.0.1:27018/smart',
  11. };
  12. // mq config
  13. config.amqp = {
  14. client: {
  15. hostname: '192.168.1.190',
  16. },
  17. };
  18. return config;
  19. };