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 'mysql:8.0')
-
Image versions on dockerhub
-
-
embedded.mysql.waitTimeoutInSeconds
(default is 60 seconds)
-
embedded.mysql.initScriptPath
(default is null)
-
embedded.toxiproxy.proxies.mysql.enabled
Enables both creation of the container with ToxiProxy TCP proxy and a proxy to theembedded-mysql
container.