2023-12-14 21:04:26 +00:00
|
|
|
version: "2.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
coredns:
|
|
|
|
image: coredns/coredns:latest
|
|
|
|
volumes:
|
|
|
|
- ./Corefile:/home/nonroot/Corefile:ro
|
|
|
|
ports:
|
|
|
|
- "{{ private_ip }}:5353:53/udp"
|
|
|
|
networks:
|
|
|
|
- default
|
2023-12-21 16:13:32 +00:00
|
|
|
- coredns
|
2023-12-14 21:04:26 +00:00
|
|
|
|
|
|
|
networks:
|
2023-12-21 16:13:32 +00:00
|
|
|
coredns:
|
2023-12-14 21:04:26 +00:00
|
|
|
external: true
|