Enable Pi-hole to block trackers and adverts
This commit is contained in:
parent
be2adf13bf
commit
7de0de4d43
|
@ -31,8 +31,8 @@ services:
|
|||
# FIXME: Mercury doesn't work
|
||||
- USE_MERCURY=False
|
||||
- SAVE_MERCURY=False
|
||||
# dns: # uncomment to use pihole below for ad/tracker blocking during archiving
|
||||
# - pihole
|
||||
dns: # uncomment to use pihole below for ad/tracker blocking during archiving
|
||||
- pihole
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./archivebox:/app/archivebox # for developers working on archivebox
|
||||
|
@ -53,20 +53,20 @@ services:
|
|||
# volumes:
|
||||
# - ./sonic.cfg:/etc/sonic.cfg:ro
|
||||
# - ./data/sonic:/var/lib/sonic/store
|
||||
|
||||
|
||||
|
||||
|
||||
### Example: To run pihole in order to block ad/tracker requests during archiving,
|
||||
# uncomment this block and set up pihole using its admin interface
|
||||
|
||||
# pihole:
|
||||
# image: pihole/pihole:latest
|
||||
# ports:
|
||||
# - 80:80 # uncomment to access the admin HTTP interface on http://localhost:80
|
||||
# environment:
|
||||
# WEBPASSWORD: 'set a secure password here or it will be random'
|
||||
# volumes:
|
||||
# - ./data/pihole:/etc/pihole
|
||||
# - ./data/dnsmasq:/etc/dnsmasq.d
|
||||
pihole:
|
||||
image: pihole/pihole:latest
|
||||
ports:
|
||||
- 80:80 # uncomment to access the admin HTTP interface on http://localhost:80
|
||||
environment:
|
||||
WEBPASSWORD: 'password'
|
||||
volumes:
|
||||
- ./data/pihole:/etc/pihole
|
||||
- ./data/dnsmasq:/etc/dnsmasq.d
|
||||
|
||||
|
||||
### Example: Run scheduled imports in a docker instead of using cron on the
|
||||
|
|
Loading…
Reference in New Issue