services: haproxy: image: haproxytech/haproxy-alpine:latest container_name: haproxy restart: always ports: # - 80:80 # 80 is for caddy - 443:443 # - 8404:8404 volumes: # - /docker/data/haproxy/etc:/usr/local/etc/haproxy:ro - /docker/data/haproxy/etc/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro networks: - default networks: default: {}