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