Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 1.15 KB

File metadata and controls

36 lines (29 loc) · 1.15 KB

embedded-cockroachdb

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-cockroachdb</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • 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')

  • 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 the embedded-cockroachdb container.

Produces

  • 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