config.local.js 368 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. module.exports = () => {
  3. const config = exports = {};
  4. config.cluster = {
  5. listen: {
  6. port: 9002,
  7. },
  8. };
  9. // mongoose config
  10. config.mongoose = {
  11. url: 'mongodb://127.0.0.1:27017/naf',
  12. options: {},
  13. // url: 'mongodb://192.168.1.170:27018/naf',
  14. };
  15. config.logger = {
  16. consoleLevel: 'DEBUG',
  17. };
  18. return config;
  19. };