hamdiituu / mongodb-replication-db-docker

mongo db replication set docker easy setup :*

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MongoDB replica set

This project contains scripts to create a recplica set in MongoDB without hassle

Prerequisites

To make this work, you must have Docker and Docker-compose installed on your computer

Create the replica set

./dbstart.sh

Connect to the primary docker instance

docker exec -it mongo1 mongo

Shutdown the replica set

docker-compose down

About

mongo db replication set docker easy setup :*


Languages

Language:Shell 100.0%