AppsDNSPihole

Pi-hole

A blackhole for Internet advertisements with a GUI for management and monitoring.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: '3.3'
services:
  pihole:
    container_name: pihole
    image: docker.io/pihole/pihole:2024.07.0
    ports:
      - 53:53/tcp
      - 53:53/udp
      - 67:67/udp
      - 9002:80/tcp
      #- 443:443/tcp
    environment:
      - TZ=Europe/Vienna
      - WEBPASSWORD=your-secret-password
    volumes:
      - ./dnsmasq:/etc/dnsmasq.d
      - ./etcd:/etc/pihole
    restart: unless-stopped

Resources

Website: https://pi-hole.net/

GitHub: https://github.com/pi-hole/pi-hole

Docker Hub: https://hub.docker.com/r/pihole/pihole

Configuration: https://github.com/pi-hole/docker-pi-hole