Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

aoacademy/mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongo

Drone (cloud)

Introduction

Do you need multiple copies of your data? Let's do replication with mongo style.

How to use?

To run this replication set, you only need to enter the following command.

docker-compose up -d

This command runs 3 mongo instance and then configure first of them as master with the configuration that is provided in scripts/setup.sh. To add more nodes into replication set, you must add them in docker-copmpose.yml and the script. Global configurations of replication set (like name, etc.) are accessible in env file.

About

Mongo Replication with docker-compose ❤️

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published