services: caddy: image: customcaddy:2.7.6 restart: unless-stopped volumes: - ./Caddyfile:/etc/caddy/Caddyfile - ./data:/data - ./certs:/etc/caddy/certs - /etc/resolv.conf:/etc/resolv.conf:ro network_mode: host