MongoDB

How to setup and deploy a MongoDB replica set with Docker? How do I start a replica set of MongoDB in Docker? How to automatically initiate MongoDB replica set in Docker-Compose container?
Are multi-document transactions supported in MongoDB? What are MongoDB sessions and why are they needed? How to use MongoDB multi-document transactions in Symfony 4 with Doctrine, DoctrineMongoDBBundle and MongoDB ODM library?