version: "3.3" services: gateway: image: haproxy:2.3 volumes: - ./config:/usr/local/etc/haproxy:ro ports: - 80:80 - 443:443 network_mode: "host" restart: unless-stopped