Move pihole to NFS
This commit is contained in:
parent
53b1a425e7
commit
4c685fdbc5
|
@ -11,11 +11,23 @@ services:
|
||||||
- DNS1
|
- DNS1
|
||||||
- DNS2
|
- DNS2
|
||||||
volumes:
|
volumes:
|
||||||
- ./etc-pihole:/etc/pihole/
|
- etc_pihole:/etc/pihole/
|
||||||
- ./etc-dnsmasq.d:/etc/dnsmasq.d/
|
- etc_dnsmasq:/etc/dnsmasq.d/
|
||||||
dns:
|
dns:
|
||||||
- "${DNS3}"
|
- "${DNS3}"
|
||||||
- "${DNS1}"
|
- "${DNS1}"
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
etc_pihole:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=10.7.89.108,nolock,hard,rw,vers=4.1"
|
||||||
|
device: ":/server_data/pihole/etc-pihole"
|
||||||
|
etc_dnsmasq:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=10.7.89.108,nolock,hard,rw,vers=4.1"
|
||||||
|
device: ":/server_data/pihole/etc-dnsmasq"
|
||||||
|
|
Reference in New Issue