-
How to run the project?
1- First of all create a network in your docker using following command: docker network create miniurlproject
2- Then run the docker compose file.
3- After that run the follwoing command in your terminal: docker exec -it mongo-replica-container mongosh --eval "rs.initiate({_id:'rs0', members: [{_id:0, host: 'mongo-replica-container'}]})"
4- You could ensure the replicaset is initated properly by running this command: docker exec -it mongo-replica-container mongosh --eval "rs.status()"
5- Done :)
-
Notifications
You must be signed in to change notification settings - Fork 0
Erfan-ffa/UrlShortner-DistributedSystem-
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
distributed url shortner project designed for highly scaled scenarios
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published