add registery02 to haproxy

This commit is contained in:
Kevin Fenzi 2017-03-02 01:26:16 +00:00
parent 247b7d4849
commit e77bd253f6

View file

@ -303,6 +303,9 @@ listen osbs 0.0.0.0:10047
listen docker-registry 0.0.0.0:10048
balance hdr(appserver)
server docker-registry01 docker-registry01:5000 check inter 10s rise 1 fall 2
{% if env == "staging" %}
server docker-registry02 docker-registry02:5000 check inter 10s rise 1 fall 2
{% endif %}
{% if env == "staging" %}
listen retrace 0.0.0.0:10049