Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 928 Bytes

File metadata and controls

34 lines (27 loc) · 928 Bytes

embedded-mysql

Maven dependency

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

Consumes (via bootstrap.properties)

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

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

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

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

  • embedded.mysql.dockerImage (default is 'mysql:8.0')

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

  • embedded.mysql.initScriptPath (default is null)

Produces

  • embedded.mysql.port

  • embedded.mysql.host

  • embedded.mysql.schema

  • embedded.mysql.user

  • embedded.mysql.password