summaryrefslogtreecommitdiffstats
path: root/compose.yaml
blob: c366fcb8a709365f920bf9936550b2ecfef16ebc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3"

services:
  bind9:
    networks:
      - macvlan-net
    container_name: bind9-dns-server
    image: ubuntu/bind9:latest
    environment:
      - BIND9_USER=root
      - TX=Europe/London
    ports:
      - "192.168.1.10:53:53/udp"
      - "192.168.1.10:53:53/tcp"
    volumes:
      - ./config:/etc/bind
      - ./cache:/var/cache/bind
      - ./records:/var/lib/bind
    restart: unless-stopped
networks:
  macvlan-net:
    external: true
    name: custommacvlan