Pihole

A black hole for Internet advertistments.

I use pi-hole for network-wide ad and tracker blocking. GitHub

Full compose file

version: '3.8'

services:
  pihole:
    container_name: pihole
    image: pihole/pihole:latest
    restart: always
    ports:
      - '53:53/tcp'
      - '53:53/udp'
      - '8053:80/tcp'
    environment:
      TZ: 'Australia/Melbourne'
      WEBPASSWORD: 'CHANGE_ME'
      DNS1: '1.1.1.1'
      DNS2: '9.9.9.9'
    dns:
      - '127.0.0.1'
      - '1.1.1.1'
    volumes:
      - ./pihole/etc/pihole/:/etc/pihole/
      - ./pihole/etc/dnsmasq.d/:/etc/dnsmasq.d/
    cap_add:
      - NET_ADMIN

Resources


Content properties

  • Type: Note
  • Category: Self Hosting
  • Tags: privacy, ops
  • Custom slug: None

This is a preview of a simpler page design that I'm working on over the next little bit. I've finally added a (click it!) but there's still a few pages left to be converted so don't worry if things don't look quite right just yet 🙏

Content on blog pages use the CC-BY-SA license. The source code and notes use the MIT license. Unsure? Mention me on Mastodon.