Excontainers.RedisContainer (excontainers v0.3.1) View Source

Functions to build and interact with Redis containers.

Link to this section Summary

Functions

Returns the connection url to connect to Redis from the host machine.

Returns the port on the host machine where the Redis container is listening.

Link to this section Functions

Returns the connection url to connect to Redis from the host machine.

Link to this function

new(image \\ "redis:6.0-alpine", opts \\ [])

View Source

Creates a Redis container.

Runs Redis 6.0 by default, but a custom image can also be set.

Returns the port on the host machine where the Redis container is listening.