Ourcase:
- use setup.sh
- make sure that network are same
Origin:
This will guide you through setting up a replica set in a docker environment using.
- Docker Compose
- MongoDB Replica Sets
- Mongoose
- Mongoose Transactions
Url connect mongodb: mongodb://127.0.0.1:27017/esc-api?replicaSet=rs0