+ haproxy:
+ image: haproxy:2.7
+ volumes:
+ - ./haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
+ - ./sharding.map:/usr/local/etc/haproxy/sharding.map:ro
+ sysctls:
+ net.ipv4.ip_unprivileged_port_start: 0
+ ports:
+ - 8080:8400
+ - 8401:8401
+ - 8404:8404
+
+ backend-1:
+ image: jmalloc/echo-server:latest
+ ports:
+ - 8081:8080
+ backend-2:
+ image: jmalloc/echo-server:latest
+ ports:
+ - 8082:8080
+ backend-3:
+ image: jmalloc/echo-server:latest
+ ports:
+ - 8083:8080