pom.xml
<dependency>
<groupId>com.playtika.testcontainers</groupId>
<artifactId>embedded-postgresql</artifactId>
<scope>test</scope>
</dependency>-
embedded.postgresql.enabled(true|false, default is 'true') -
embedded.postgresql.reuseContainer(true|false, default is 'false') -
embedded.postgresql.dockerImage(default is set to 'postgres:9.6.8')-
You can pick wanted version on dockerhub
-
-
embedded.postgresql.waitTimeoutInSeconds(default is 60 seconds) -
embedded.postgresql.database -
embedded.postgresql.user -
embedded.postgresql.password -
embedded.postgresql.initScriptPath(default is null)