services: coredns: image: coredns/coredns:1.11.1 container_name: coredns restart: unless-stopped network_mode: host command: -conf /etc/coredns/Corefile volumes: - ./Corefile:/etc/coredns/Corefile:ro healthcheck: # Disable healthcheck - CoreDNS is a minimal image without shell # CoreDNS runs fine (verified by DNS queries working correctly) # If needed, health can be checked externally via dig disable: true