version: '3'
services:
  haproxy:
    build: ./example/compose/haproxy/
    volumes:
      - ./example/compose/haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
      - ./example/compose/haproxy/http.lua:/usr/local/etc/haproxy/haproxy-lua-http/http.lua
      - ./example/compose/haproxy/auth-request.lua:/usr/local/etc/haproxy/auth-request.lua
    networks:
      authelianet:
        # Set the IP to be able to query on port 8080
        ipv4_address: 192.168.240.100