config.local.js 420 B

123456789101112131415161718192021222324
  1. 'use strict';
  2. module.exports = () => {
  3. const config = (exports = {});
  4. config.logger = {
  5. level: 'DEBUG',
  6. consoleLevel: 'DEBUG',
  7. };
  8. config.mongoose = {
  9. url: 'mongodb://localhost:27017/platform',
  10. options: {
  11. user: 'demo',
  12. pass: 'demo',
  13. authSource: 'admin',
  14. useNewUrlParser: true,
  15. useCreateIndex: true,
  16. useUnifiedTopology: true,
  17. },
  18. };
  19. return config;
  20. };