Skip to content

hamdiituu/mongodb-replication-db-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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 :*

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages