Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 322 Bytes

File metadata and controls

10 lines (7 loc) · 322 Bytes

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