Setup MongoDb ReplicaSet with Authentication enabled, using docker-compose.
6 min readMay 23, 2020
The solution is intentionally toned down to a basic POC (proof of concept) style to fit for all kinds of users. Please do not use my solutions as it is in production.
Introduction
A replica set; is nothing but a group of mongod
processes maintaining the same data set. These instances provides us with…