const RedisConf = { R1 : { port: 6380, host: "61.160.36.19", password: "33fa134e11b", db: 5 } } const CommonConf = { } const MongoConf = { R1 : { port: 27017, host: "61.147.187.176", username: "ojiatest", password: "ojia305", dbname: "allstar_home" }, R2: { port: 10001, host: "58.215.52.59", username: "hyqmxmongo", password: "55wn2NK37UrB", dbname: "hyqmx" } } const ReplSetConf = { R1 : { servers: [ "58.215.52.59:10001", "58.215.52.21:10001", "14.215.104.240:10001" ], replicaSet: "hyqmxmongo", username: "hyqmx_rw", password: "55wn2NK37UrB", dbname: "hyqmx", } } module.exports = { RedisConf, CommonConf, MongoConf, ReplSetConf }