Commit d1752a1d authored by 杨翌文's avatar 杨翌文

修改配置

parent 1221355f
...@@ -63,35 +63,36 @@ var config = { ...@@ -63,35 +63,36 @@ var config = {
}, },
production: { production: {
root: rootPath, root: rootPath,
app: { app: {
name: 'pisns-forum-api' name: 'pisns-forum-api'
}, },
service:'http://pisns.wxpai.cn', service:'http://piplus.wxpai.cn',
port: 3011, port: 3011,
mongodb: { mongodb: {
uri: 'mongodb://10.173.226.96:27017/pisns-forum', uri: 'mongodb://10.173.224.92,10.173.226.96,10.173.227.160/pisns-forum',
username: 'future', username: 'future',
password: 'future123456', password: 'future123456',
dbname: 'pisns-forum', dbname: 'pisns-forum',
poolSize: 50 replset:'hdp',
}, poolSize: 50
ossConfig: { },
accessKeyId: 'ezpP6LGjecQW6zJC', ossConfig: {
accessKeySecret: '1iqc1bkwZCVjK7oFUYdGm6e0xOL4mF', accessKeyId: 'ezpP6LGjecQW6zJC',
bucketNameProd: 'pisns-oss-res', accessKeySecret: '1iqc1bkwZCVjK7oFUYdGm6e0xOL4mF',
bucketNameDev: 'pisns-oss-dev', bucketNameProd: 'pisns-oss-res',
prodCDNURL: 'http://fs.wxpai.cn/', bucketNameDev: 'pisns-oss-dev',
devCDNURL: 'http://dev.fs.wxpai.cn/' prodCDNURL: 'http://fs.wxpai.cn/',
}, devCDNURL: 'http://dev.fs.wxpai.cn/'
sessionStore: { },
password: 'future123456', sessionStore: {
port: 6379, password: 'a39131f8d598429f:GuangZhouhdp123',
host: '10.168.27.179', port: 6379,
db: 2 host: 'a39131f8d598429f.m.cnhza.kvstore.aliyuncs.com',
} db:2
} }
}
}; };
module.exports = config[env]; module.exports = config[env];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment