pom.xml
<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-mongodb</artifactId>
<scope>test</scope>
</dependency>
-
embedded.mongodb.enabled
(true|false, default is true)
-
embedded.mongodb.reuseContainer
(true|false, default is false)
-
embedded.mongodb.dockerImage
(default is 'mongo:5.0-focal')
-
Image versions on dockerhub
-
-
embedded.mongodb.host
(default is localhost)
-
embedded.mongodb.port
(default is 27017)
-
embedded.mongodb.username
-
embedded.mongodb.password
-
embedded.mongodb.database
(default is test)
-
embedded.mongodb.host
-
embedded.mongodb.port
-
embedded.mongodb.username
-
embedded.mongodb.password
-
embedded.mongodb.database