depends_on:
- kafka-0
+ haproxy:
+ image: haproxy:2.7
+ volumes:
+ - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
+ sysctls:
+ net.ipv4.ip_unprivileged_port_start: 0
+ ports:
+ - 8080:80
+ - 8404:8404
+
+ web1:
+ image: nginx:1.17
+ web2:
+ image: nginx:1.17
+ web3:
+ image: nginx:1.17
setup:
image: juplo/toolbox