const RedisConf = { R1 : { port: 6380, host: "61.160.36.19", password: "33fa134e11b", db: 5 } } const CommonConf = { } /** * 测试环境MongoDB */ const MongoConf = { R1 : { port: 27017, host: "61.147.187.176", username: "ojiatest", password: "ojia305", dbname: "taptapstar_home" } } /** * 正式环境MongoDB复制集 */ const ReplSetConf = { R1 : { servers: [ "58.215.52.59:10002", "58.215.52.21:10003", "14.215.104.240:10002" ], username: "taptapstar_rw", password: "o890usVM1e0", replicaSet: "taptapstarmongo", dbname: "taptapstar_home" } } module.exports = { RedisConf, CommonConf, MongoConf, ReplSetConf }