Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.2 KB

File metadata and controls

39 lines (31 loc) · 1.2 KB

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:7.4.1-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)

  • embedded.toxiproxy.proxies.redis.enabled Enables both creation of the container with ToxiProxy TCP proxy and a proxy to the embedded-redis container.

Produces

  • embedded.redis.host

  • embedded.redis.port

  • embedded.redis.user

  • embedded.redis.password

  • embedded.redis.toxiproxy.host

  • embedded.redis.toxiproxy.port

  • embedded.redis.networkAlias

  • Bean ToxiproxyContainer.ContainerProxy redisContainerProxy