/mongo-replica-set

Docker Compose project for create a replica set in MongoDB

Primary LanguageShell

mongo-replica-set

Docker Compose project for create a replica set in MongoDB

Requisites

Docker and Docker Compose installed

Deploy the replica set

./deploy-replica-set.sh

Connect to the primary MongoDB server

docker exec -it mongo-primary-server mongo