Single Node MongoDB Replica Set with Docker Compose

from blog Blog on hjr265.me, | ↗ original
Toph needs a few MongoDB features that only work in replica set mode. Take Change Streams, for example. It is unavailable in standalone mode. To ease development, all of Toph’s application codebases come with Docker Compose files. With just a single docker-compose up, I can have any of Toph’s applications running in a development environment. But...