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" } } const QQReplSetConf = { R1 : { servers: [ "58.215.52.59:10003", "58.215.52.21:10002", "14.215.104.240:10003" ], username: "taptapstarqq_mongo_rw", password: "gW0CxPhL6I56", replicaSet: "taptapstarqqmongo", dbname: "taptapstarqq_mongo" } } const HLReplSetConf = { R1 : { port: 10003, host: "14.215.104.240", username: "headlines_admin", password: "mtB78u3890x1", dbname: "taptapstar_home_headlines" } } module.exports = { RedisConf, CommonConf, MongoConf, ReplSetConf, QQReplSetConf, HLReplSetConf }