pom.xml
<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-mysql</artifactId>
<scope>test</scope>
</dependency>
-
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 set to 'mysql:5.7.22')
-
You can pick wanted version on dockerhub.
-
-
embedded.mysql.waitTimeoutInSeconds
(default is 60 seconds)
-
embedded.mysql.initScriptPath
(default is null)