config.prod.js 433 B

123456789101112131415161718192021
  1. 'use strict';
  2. module.exports = () => {
  3. const config = exports = {};
  4. config.dbServer = {
  5. ip: '127.0.0.1',
  6. port: '6101',
  7. };
  8. config.dbName = 'baoan-position';
  9. config.mongoose = {
  10. url: `mongodb://localhost:27017/${config.dbName}`,
  11. options: {
  12. user: 'c##baoandba',
  13. pass: 'baoan2021',
  14. authSource: 'admin',
  15. useNewUrlParser: true,
  16. useCreateIndex: true,
  17. },
  18. };
  19. return config;
  20. };