Public | Automated Build

Last pushed: 12 days ago
Short Description
Images for Redis Cluster Integration Testing
Full Description

Test Redis Cluster Docker Images

This image is intended for quickly spinning up a local Redis Cluster for integration testing. Multiple Redis server instances are started in a single container, which is bad practice and should not be done for your production Redis Cluster. For production images see alpine-redis.

Supported Tags

Docker Compose Usage

docker-compose up for the following will start six Redis instances in cluster mode, listening on ports 7379 to 7384. Configuring the cluster is left to the user. See the CLUSTER- ADDSLOTS, MEET and REPLICATE commands. As well as the Redis Cluster tutorial and specification.

version: '2'

services:
 redis_cluster:
  ports:
   - "7379-7384:7379-7384"
  image: comodal/alpine-redis-testing:integ-stable
  command: ['7379', '6', '--cluster-enabled', 'yes', '--cluster-node-timeout', '200', '--cluster-require-full-coverage', 'yes', '--cluster-announce-ip', '127.0.0.1', '--repl-diskless-sync', 'yes', '--appendfsync', 'no', '--save', '''', '--protected-mode', 'no', '--activerehashing', 'no']
Docker Pull Command
Owner
comodal
Source Repository

Comments (0)