diff --git a/roles/haproxy/templates/haproxy.cfg b/roles/haproxy/templates/haproxy.cfg index d0888a435c..567f36fb74 100644 --- a/roles/haproxy/templates/haproxy.cfg +++ b/roles/haproxy/templates/haproxy.cfg @@ -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