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:
Andreas Zweili 2022-05-17 20:22:17 +02:00
parent 4c685fdbc5
commit bd09803a1b
1 changed files with 2 additions and 14 deletions

View File

@ -11,23 +11,11 @@ services:
- DNS1
- DNS2
volumes:
- etc_pihole:/etc/pihole/
- etc_dnsmasq:/etc/dnsmasq.d/
- ./etc-pihole:/etc/pihole/
- ./etc-dnsmasq.d:/etc/dnsmasq.d/
dns:
- "${DNS3}"
- "${DNS1}"
cap_add:
- NET_ADMIN
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"