17 lines
351 B
YAML
17 lines
351 B
YAML
services:
|
|
|
|
knot:
|
|
image: cznic/knot:3.4
|
|
volumes:
|
|
- ./zones:/storage/zones:ro
|
|
- ./config:/config:ro
|
|
command: knotd --verbose
|
|
network_mode: host
|
|
named:
|
|
image: internetsystemsconsortium/bind9:9.20
|
|
volumes:
|
|
- ./zones:/var/lib/bind:ro
|
|
- ./config:/etc/bind:ro
|
|
#command: named -g
|
|
network_mode: host
|