feat: Adds net_admin and cap_sys_time to pihole.
This commit is contained in:
@@ -12,6 +12,9 @@ services:
|
||||
- .env
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- CAP_SYS_TIME
|
||||
volumes:
|
||||
- pihole_data:/etc/pihole
|
||||
- pihole_dnsmasq:/etc/dnsmasq.d
|
||||
|
||||
@@ -3,7 +3,7 @@ TZ="America/New_York"
|
||||
WEBPASSWORD="super-secret!"
|
||||
DNSMASQ_LISTENING=local
|
||||
# This should be the server IP that pihole is running on.
|
||||
PIHOLE_DNS_="192.168.50.5#53"
|
||||
PIHOLE_DNS_="192.168.50.5#5053"
|
||||
# This mount needs (3) folders, 'pihole', 'dnsmasq.d', 'unbound'.
|
||||
NFS_MNT=":/var/nfs/shared/<mnt>"
|
||||
NFS_ADDR="192.168.1.105"
|
||||
|
||||
Reference in New Issue
Block a user