Skip to content

Commit e6e5af7

Browse files
committed
Update config.js
- Change Rabbit MQ Config
1 parent 3ac198a commit e6e5af7

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

MatchingService/config/config.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
module.exports = {
2-
PORT: 3004,
3-
questionServiceUrl: "http://question-service:3003/api/questions",
4-
// questionServiceUrl: "http://127.0.0.1:3003/api/questions",
5-
mongodbUri: "mongodb://matching-service-database:27017/peer-prep",
6-
// mongodbUri: "mongodb://127.0.0.1:27020/peer-prep",
7-
// mongodbUri: "mongodb://127.0.0.1:27017/peer-prep",
8-
rabbitmqUrl: "amqp://rabbitmq:5672",
9-
// rabbitmqUrl: "amqp://127.0.0.1:5672",
10-
refreshDuration: 3000, // 3 seconds
11-
waitingDuration: 3000,
12-
matchingDuration: 57000,
13-
queueName: "matchingQueue",
14-
};
2+
PORT: 3004,
3+
questionServiceUrl: "http://question-service:3003/api/questions",
4+
// questionServiceUrl: "http://127.0.0.1:3003/api/questions",
5+
mongodbUri: "mongodb://matching-service-database:27017/peer-prep",
6+
// mongodbUri: "mongodb://127.0.0.1:27020/peer-prep",
7+
// mongodbUri: "mongodb://127.0.0.1:27017/peer-prep",
8+
// rabbitmqUrl: "amqp://rabbitmq:5672",
9+
rabbitmqUrl: "amqp://127.0.0.1:5672",
10+
refreshDuration: 3000, // 3 seconds
11+
waitingDuration: 3000,
12+
matchingDuration: 57000,
13+
queueName: "matchingQueue",
14+
};

0 commit comments

Comments
 (0)