Update bind9vm/docker-compose.yml
Convert to using local BIND volumes rather than shared. The zone file is sync-ed automatically when the serial number is changed.
This commit is contained in:
@@ -11,16 +11,7 @@ services:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
volumes:
|
||||
- config:/etc/bind
|
||||
- cache:/var/cache/bind
|
||||
- records:/var/lib/bind
|
||||
- /docker/bind9/config:/etc/bind
|
||||
- /docker/bind9/cache:/var/cache/bind
|
||||
- /docker/bind9/records:/var/lib/bind
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
cache:
|
||||
records:
|
||||
config:
|
||||
driver_opts:
|
||||
type: cifs
|
||||
o: "username=john,password=mary1948"
|
||||
device: "//192.168.1.7/BIND9/config" # share on VALHALLA
|
||||
Reference in New Issue
Block a user