containers/coredns/docker-compose.yml
Martin Donnelly e33870235b Added coredns
2022-01-31 16:23:23 +00:00

22 lines
517 B
YAML

version: '3.1'
services:
coredns:
build:
context: .
container_name: corednsSM
image: coredns-sm.image # name of local image
restart: always # other option: on-failure - if you want persistent through host reboots use always
expose:
- '53'
- '53/udp'
ports:
- '53:53'
- '53:53/udp'
volumes:
- './config:/etc/coredns'
networks:
- net
networks:
net: