silaev

Results 11 comments of silaev

faced the same issue, as a workaround added the following to a Gradle clean task: ```groovy import org.apache.tools.ant.taskdefs.condition.Os clean { if (Os.isFamily(Os.FAMILY_WINDOWS)) { def tempDir = System.getProperties().getProperty("java.io.tmpdir") def ft =...

Hey @krisgerhard, a replica set is needed for some operations like running MongoDB transactions. The whole idea of the MongoDBContainer is to automatically init a replica set to provide full...

Thanks for your interest in MongoDB in general and the MongoDBContainer in particular. The MongoDB official docs state which operations require a replica set. MongoDB evolves quite rapidly these days....

Raised a [PR](https://github.com/testcontainers/testcontainers-java/pull/5595) to add auth to MongoDBContainer. @kiview pls, review

> Hi @silaev, > > Thanks for your work to enhance the process of initialization data. Before this PR gets merged into the master, may I confirm that if it's...

Addresses a request to use auth with MongoDBContainer discussed [here](https://github.com/testcontainers/testcontainers-java/issues/4695)

> @silaev thanks for the PR! and sorry for the delay. Can you update the branch and resolve the conflicts, please? There have been some changes since it was submitted...

@eddumelendez, thanks for the review. I address all the discussions. Please, let me know if anything else is needed from me

HI @survivant, Thanks for flagging. Please, consider for now [`jitpack`](https://jitpack.io/#silaev/mongodb-replica-set/0.4.4) and this [link](https://stackoverflow.com/questions/50389211/android-studio-maven-url-https-jitpack-io-cant-download) just in case of having issues adding it to a project

Hi @kolotyluk, As an experiment, could you try starting up via: ``` MongoDbReplicaSet.builder() .replicaSetNumber(2) .addArbiter(true) .build() ``` to force to use a hostname (requires adding `host.docker.internal` or `dockerhost` to the...