pom.xml
<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-cockroachdb</artifactId>
<scope>test</scope>
</dependency>
-
embedded.cockroach.enabled
(true|false, default is true)
-
embedded.cockroach.reuseContainer
(true|false, default is false)
-
embedded.cockroach.dockerImage
(default is 'cockroachdb/cockroach:v22.2.9')
-
Image versions on dockerhub
-
-
embedded.cockroach.initScriptPath
(default is null)
-
embedded.toxiproxy.proxies.cockroach.enabled
Enables both creation of the container with ToxiProxy TCP proxy and a proxy to theembedded-cockroachdb
container.
-
embedded.cockroach.port
-
embedded.cockroach.host
-
embedded.cockroach.schema
-
embedded.cockroach.user
-
embedded.cockroach.password
-
embedded.cockroach.toxiproxy.host
-
embedded.cockroach.toxiproxy.port
-
embedded.cockroach.networkAlias
-
embedded.cockroach.internalPort
-
Bean
ToxiproxyContainer.ContainerProxy cockroachContainerProxy