Sign inSign up

lushdigital/docker-redis-slave

By lushdigital

•Updated about 9 years ago

A docker image for operating a Redis slave.

Image
0

500K+

lushdigital/docker-redis-slave repository overview

⁠Environment variables

The image expects two environment variables to allow the redis instance to connect to a master:

Environment VariableDescriptionDefault
REDIS_MASTER_SERVICE_HOSTThe DNS name of the redis masterredis-master
REDIS_MASTER_SERVICE_PORTThe TCP port of the redis master6379

⁠Usage

Simply run the container with the environment variables set like so:

$ docker run --name some-redis-slave -e REDIS_MASTER_SERVICE_HOST=redis-master -e REDIS_MASTER_SERVICE_PORT=6379 -d lushdigital/docker-redis-slave

Tag summary

Content type

Image

Digest

Size

10 MB

Last updated

about 9 years ago

docker pull lushdigital/docker-redis-slave