Deploy mirrorlist as docker container on staging

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2016-10-09 00:38:52 +00:00
parent 1dfbde8771
commit 6550392ee7
5 changed files with 62 additions and 0 deletions

View file

@ -44,6 +44,10 @@ listen fp-wiki 0.0.0.0:10001
listen mirror-lists 0.0.0.0:10002
balance hdr(appserver)
timeout connect 30s
{% if env == "staging" %}
server mirrorlist-local1 localhost:18081 check inter 5s rise 2 fall 3 weight 100
server mirrorlist-local2 localhost:18082 check inter 5s rise 2 fall 3 weight 100
{% endif %}
server mirrorlist-phx2 mirrorlist-phx2:80 check inter 5s rise 2 fall 3
{% if env == "production" %}
server mirrorlist-dedicatedsolutions mirrorlist-dedicatedsolutions:80 check inter 5s rise 2 fall 3