Deploy coredns as a proxy to Docker's internal DNS

This commit is contained in:
Jake Howard
2023-12-14 21:04:26 +00:00
parent 7381c1f10a
commit 7ad5d6e51e
5 changed files with 59 additions and 0 deletions

View File

@ -0,0 +1,16 @@
version: "2.3"
services:
coredns:
image: coredns/coredns:latest
volumes:
- ./Corefile:/home/nonroot/Corefile:ro
ports:
- "{{ private_ip }}:5353:53/udp"
networks:
- default
- traefik
networks:
traefik:
external: true