Update Docker Compose file format 3

This commit is contained in:
khs1994
2017-11-23 15:48:52 +08:00
parent 99401dcc4f
commit cbc8f54ed7
21 changed files with 429 additions and 347 deletions

View File

@@ -0,0 +1,32 @@
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
defaults
log global
mode http
option httplog
option dontlognull
timeout connect 5000ms
timeout client 50000ms
timeout server 50000ms
listen stats
bind 0.0.0.0:70
stats enable
stats uri /
frontend balancer
bind 0.0.0.0:80
mode http
default_backend web_backends
backend web_backends
mode http
option forwardfor
balance roundrobin
server weba weba:80 check
server webb webb:80 check
server webc webc:80 check
option httpchk GET /
http-check expect status 200