123456789101112131415161718192021 |
- 'use strict';
- module.exports = () => {
- const config = exports = {};
- config.dbServer = {
- ip: '127.0.0.1',
- port: '6101',
- };
- config.dbName = 'baoan-position';
- config.mongoose = {
- url: `mongodb://localhost:27017/${config.dbName}`,
- options: {
- user: 'c##baoandba',
- pass: 'baoan2021',
- authSource: 'admin',
- useNewUrlParser: true,
- useCreateIndex: true,
- },
- };
- return config;
- };
|