coredns/docker-compose.yml

20 lines
510 B
YAML
Raw Normal View History

2023-09-29 20:58:48 +00:00
---
services:
coredns:
image: ${CDNS_REPO}:${CDNS_VERSION}
restart: unless-stopped
command: -conf /data/config/Corefile
labels:
### Section Diun
- diun.enable=${DIUN_ENABLE}
- diun.watch_repo=${DIUN_WATCHREPO}
- diun.sort_tags=${DIUN_SORTALGO}
- diun.include_tags=${DIUN_INCLUDE}
- diun.exclude_tags=${DIUN_EXCLUDE}
ports:
- 53:53/tcp
- 53:53/udp
volumes:
- ${CDNS_DATA}/config:/data/config
- ${CDNS_DATA}/zones:/data/zones