feat(modules.mongodb): add replica set support via opts by heiytor · Pull Request #2469 · testcontainers/testcontainers-go
The `WithReplicaSet` option configures the MongoDB container to run a single-node replica set named "rs". The container will wait until the replica set is ready.
mdelapenya
changed the title
adding replica set support via opts
feat(modules.mongodb): add replica set support via opts
mdelapenya added a commit to bearrito/testcontainers-go that referenced this pull request
Jun 11, 2024ttruongatl pushed a commit to ttruongatl/testcontainers-go that referenced this pull request
Feb 15, 2025* feat(mongodb): add WithReplicaSet option The `WithReplicaSet` option configures the MongoDB container to run a single-node replica set named "rs". The container will wait until the replica set is ready. * docs: document the new option * fix: proper indent --------- Co-authored-by: Manuel de la Peña <mdelapenya@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters