version: '3.7' services: caddy: image: docker.internal:5000/caddy:latest cap_add: - NET_ADMIN ports: - "80:80" - "443:443" - "443:443/udp" volumes: - /mnt/docker/data/caddy/etc/Caddyfile:/etc/caddy/Caddyfile - /mnt/docker/data/caddy/etc/auth:/etc/caddy/auth - /mnt/docker/data/caddy/site:/srv - /mnt/docker/data/caddy/data:/data - /mnt/docker/data/caddy/config:/config