MongoDB ReplicaSet docker deployment
Requirements
- docker-compose
Instructions
- Run
docker-compose up
in the current folder - Connect to mongodb://localhost:27017 to check connection
- To stop mongoDB, run
docker-compose stop
, otherwise you'll need to stop/remove the container to re-run it