version: "3.8"
services:
haproxy:
image: haproxy:alpine
volumes:
- ./data:/usr/local/etc/haproxy
network_mode: host
restart: unless-stopped