Public | Automated Build

Last pushed: 2 years ago
Short Description
Forward redis traffic to the redis master
Full Description

haproxy redis-lb

Forward redis traffic to the redis master.


docker run -d -p 6379:6379 jeko/haproxy-redis-lb:latest ",,,"

Argument is a comma (,) separated list of servers. Format: host[:port],host[:port]...

Each server is defined by its address (or hostname) and optional port (default: 6379).


You want your clients to connect to a single "HOST:PORT" to access redis? This haproxy setup will let you do just that, by detecting which instance is configured as master and route traffic to it.

You will need the help an external tool (probably redis-sentinel) to control your master and replicas.

More details here about this concept and implementation:


This fork of QuantumIOT/haproxy-redis-lb-docker allows to specify redis servers ports.

Docker Pull Command
Source Repository