From 5cd2b328c006db9e39b919a8d7ab01aaecee2fe9 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 16 Mar 2022 14:12:18 -0700 Subject: [PATCH] Add example pihole docker-compose config for ad/tracker blocking during archiving --- docker-compose.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 324540aa..0654c9a4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,6 +23,8 @@ services: # - SEARCH_BACKEND_ENGINE=sonic # uncomment these if you enable sonic below # - SEARCH_BACKEND_HOST_NAME=sonic # - SEARCH_BACKEND_PASSWORD=SecretPassword + # dns: # uncomment to use pihole below for ad/tracker blocking during archiving + # - pihole volumes: - ./data:/data # - ./archivebox:/app/archivebox # for developers working on archivebox @@ -39,7 +41,17 @@ services: # volumes: # - ./sonic.cfg:/etc/sonic.cfg:ro # - ./data/sonic:/var/lib/sonic/store - + + # 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 ### Optional Addons: tweak these examples as needed for your specific use case