12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- 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: "allstar_home"
- }
- }
- /**
- * 正式环境MongoDB复制集
- */
- const ReplSetConf = {
- R1 : {
- servers: [
- "58.215.52.59:10001",
- "58.215.52.21:10001",
- "14.215.104.240:10001"
- ],
- username: "hyqmx_rw",
- password: "55wn2NK37UrB",
- replicaSet: "hyqmxmongo",
- dbname: "hyqmx"
- }
- }
- module.exports = {
- RedisConf,
- CommonConf,
- MongoConf,
- ReplSetConf
- }
|