18 lines
339 B
YAML
18 lines
339 B
YAML
---
|
|
|
|
services:
|
|
bind9:
|
|
container_name: bind9
|
|
image: ubuntu/bind9:9.18-22.04_beta
|
|
environment:
|
|
- BIND9_USER=root
|
|
- TZ=America/Vancouver
|
|
ports:
|
|
- 53:53/tcp
|
|
- 53:53/udp
|
|
volumes:
|
|
- ./config:/etc/bind
|
|
- ./cache:/var/cache/bind
|
|
- ./records:/var/lib/bind
|
|
restart: unless-stopped
|