1
0
Fork 0

Enable Pi-hole to block trackers and adverts

This commit is contained in:
Alex Kotov 2023-08-25 00:14:06 +04:00
parent be2adf13bf
commit 7de0de4d43
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 13 additions and 13 deletions

View File

@ -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