diff --git a/bind9vm/docker-compose.yml b/bind9vm/docker-compose.yml index 30d74d2..a0fdadf 100644 --- a/bind9vm/docker-compose.yml +++ b/bind9vm/docker-compose.yml @@ -1 +1,20 @@ -test \ No newline at end of file +services: + bind9: + container_name: bind9 + image: ubuntu/bind9:latest + environment: + - BIND9_USER=root + - TZ=Europe/London + ports: + - "53:53/tcp" + - "53:53/udp" + volumes: + - config:/etc/bind + - cache:/var/cache/bind + - records:/var/lib/bind + restart: unless-stopped + +volumes: + config: + cache: + records: \ No newline at end of file