services: coredns: image: coredns/coredns:1.12.2 container_name: coredns ports: - 53:53/udp - 53:53/tcp volumes: - ./Corefile:/Corefile command: -conf /Corefile cap_add: - NET_ADMIN restart: always