Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-twemproxy

Docker image of twemproxy proxy server in front of redis instances.

Based on coderfi/docker-twemproxy

Overview

This image rely on no external service, simply link it to your redis servers.

Usage

You may want to customize the twemproxy configuration in twemproxy.yml.in - particularly the hash_tag option.

# start some redis containers
docker run --name=redis-a --rm dockerfile/redis
docker run --name=redis-b --rm dockerfile/redis

# start the container
docker run --name=twemproxy --rm --link redis-b:a --link redis-b:b -p 6379:6379 -p 6222:6222 ganomede/twemproxy

# connect using a redis client
redis-cli -h localhost -p 6379

# get stats on cluster (use `docker ps` to get `<ip>`)
curl localhost:6222
Docker Pull Command
Owner
ganomede
Source Repository