Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.36 KB

File metadata and controls

43 lines (34 loc) · 1.36 KB

embedded-mariadb

Maven dependency

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

Consumes (via bootstrap.properties)

  • embedded.mariadb.enabled (true|false, default is true)

  • embedded.mariadb.reuseContainer (true|false, default is false)

  • embedded.mariadb.encoding (default is 'utf8mb4')

  • embedded.mariadb.collation (default is 'utf8mb4_unicode_ci')

  • embedded.mariadb.dockerImage (default is 'mariadb:10.8-focal')

  • embedded.mariadb.waitTimeoutInSeconds (default is 60 seconds)

  • embedded.mariadb.maxAllowedPacket (default is '16777216')

  • embedded.mariadb.initScriptPath (default is null)

  • embedded.toxiproxy.proxies.mariadb.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-mariadb container.

Produces

  • embedded.mariadb.port

  • embedded.mariadb.host

  • embedded.mariadb.schema

  • embedded.mariadb.user

  • embedded.mariadb.password

  • embedded.mariadb.toxiproxy.host

  • embedded.mariadb.toxiproxy.port

  • embedded.mariadb.networkAlias

  • embedded.mariadb.internalPort

  • Bean ToxiproxyContainer.ContainerProxy mariadbContainerProxy