A docker image for operating a Redis slave.
500K+
The image expects two environment variables to allow the redis instance to connect to a master:
| Environment Variable | Description | Default |
|---|---|---|
| REDIS_MASTER_SERVICE_HOST | The DNS name of the redis master | redis-master |
| REDIS_MASTER_SERVICE_PORT | The TCP port of the redis master | 6379 |
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
Content type
Image
Digest
Size
10 MB
Last updated
about 9 years ago
docker pull lushdigital/docker-redis-slave