Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 911 Bytes

File metadata and controls

33 lines (26 loc) · 911 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 set to 'redis:4.0.12')

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

  • embedded.redis.clustered (default is 'false')

    • If true Redis is started in cluster mode

  • embedded.redis.requirepass (default is 'true')

Produces

  • embedded.redis.host

  • embedded.redis.port

  • embedded.redis.user

  • embedded.redis.password