Sign inSign up

pingcap/haproxy

By pingcap

•Updated about 6 years ago

Haproxy docker for PingCAP.

Image
0

5.9K

pingcap/haproxy repository overview

confg:

defaults
    log global
    mode http
    option redispatch
    timeout client  30s
    timeout server  30s
    timeout connect 3s

listen mysql_proxy 
    bind *:4000
    mode tcp
    balance leastconn
    maxconn 4096
    server tidb1 tidb1:4000 check
    server tidb2 tidb2:4000 check
    server tidb3 tidb3:4000 check

listen stats 
    bind *:8080
    mode http
    balance roundrobin
    stats uri /
    stats realm Haproxy\ Statistics
    stats auth admin:admin

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

over 10 years ago

docker pull pingcap/haproxy