|
@@ -50,14 +50,14 @@ module.exports = appInfo => {
|
|
|
logs: 'http://localhost:13002/freeAdminLog/api',
|
|
|
};
|
|
|
// redis设置
|
|
|
- config.redis = {
|
|
|
- client: {
|
|
|
- port: 6379, // Redis port
|
|
|
- host: '127.0.0.1', // Redis host
|
|
|
- password: '123456',
|
|
|
- db: 1,
|
|
|
- },
|
|
|
- };
|
|
|
+ // config.redis = {
|
|
|
+ // client: {
|
|
|
+ // port: 6379, // Redis port
|
|
|
+ // host: '127.0.0.1', // Redis host
|
|
|
+ // password: '123456',
|
|
|
+ // db: 1,
|
|
|
+ // },
|
|
|
+ // };
|
|
|
// 进程设置
|
|
|
config.cluster = {
|
|
|
listen: {
|
|
@@ -75,7 +75,7 @@ module.exports = appInfo => {
|
|
|
// 数据库设置
|
|
|
config.dbName = 'platform-v1';
|
|
|
config.mongoose = {
|
|
|
- url: `mongodb://localhost:27017/${config.dbName}`,
|
|
|
+ url: `mongodb://101.36.221.66:27017/${config.dbName}`,
|
|
|
options: {
|
|
|
user: 'admin',
|
|
|
pass: 'admin',
|