Revert "Move pihole to NFS"
This reverts commit 4c685fdbc5
.
Pihole uses SQLite as a database which shouldn't be put on a NAS like with all
databases.
This commit is contained in:
parent
4c685fdbc5
commit
bd09803a1b
|
@ -11,23 +11,11 @@ services:
|
||||||
- DNS1
|
- DNS1
|
||||||
- DNS2
|
- DNS2
|
||||||
volumes:
|
volumes:
|
||||||
- etc_pihole:/etc/pihole/
|
- ./etc-pihole:/etc/pihole/
|
||||||
- etc_dnsmasq:/etc/dnsmasq.d/
|
- ./etc-dnsmasq.d:/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