Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 907 Bytes

File metadata and controls

33 lines (26 loc) · 907 Bytes

embedded-redis

Maven dependency

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

Consumes (via bootstrap.properties)

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

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

  • embedded.redis.dockerImage (default is 'redis:6.2-alpine')

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

  • embedded.redis.clustered (true|false, default is false)

    • If true Redis is started in cluster mode

  • embedded.redis.requirepass (true|false, default is true)

Produces

  • embedded.redis.host

  • embedded.redis.port

  • embedded.redis.user

  • embedded.redis.password