Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 330 Bytes

File metadata and controls

10 lines (7 loc) · 330 Bytes

Run MongoDB

This folder contains a docker compose file to setup a mongo database with primary-secondary replication pattern. See the reference Here.

The databases run at port 27017 (primary) and 27018 (secondary).

To setup the containers, run

docker compose up -d