feat(modules.mongodb): add replica set support via opts by heiytor · Pull Request #2469 · testcontainers/testcontainers-go

eddumelendez

mdelapenya

mdelapenya

mdelapenya

@heiytor

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

@mdelapenya

mdelapenya

@mdelapenya mdelapenya changed the title adding replica set support via opts feat(modules.mongodb): add replica set support via opts

May 8, 2024

mdelapenya

mdelapenya added a commit to bearrito/testcontainers-go that referenced this pull request

Jun 11, 2024

ttruongatl 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>