It's easy to convert a standalone mongod to a replica set for testing and development:
https://docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set/
As for CI , I want to use TestContainers to get a MongoDB replica set, is there a better way to make this ? I have tried to use docker compose module, but it's fairly complex.
It's easy to convert a standalone mongod to a replica set for testing and development:
https://docs.mongodb.com/manual/tutorial/convert-standalone-to-replica-set/
As for CI , I want to use TestContainers to get a MongoDB replica set, is there a better way to make this ? I have tried to use docker compose module, but it's fairly complex.