add registery02 to haproxy
This commit is contained in:
parent
247b7d4849
commit
e77bd253f6
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue