Home Catalogus Pi-hole
dns_blocker

Pi-hole

A network-wide ad and tracker blocker that functions as a DNS sinkhole, protecting all local network devices without requiring client-side software.

ARM64 & AMD64
Docker & Rootless Podman
100% Self-Hosted (Geen Lock-in)
RAM Profiel: Gemiddeld
Standaard Poort: Port 53

Waarom deze configuratie?

Snelle Start (Standalone Docker Compose)

Onderstaand compose-fragment is direct te gebruiken in elke Docker- of Podman-omgeving:

services:
  pi-hole:
    container_name: njorddeploy-component_id
    image: pihole/pihole:latest
    restart: unless-stopped
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "8088:80/tcp"
    environment:
      TZ: 'Etc/UTC'
      FTLCONF_webserver_api_password: "pi"
      FTLCONF_dns_listeningMode: "all"
      VIRTUAL_HOST: "pi-hole.pi-hole.home.lan"
    volumes:
      - "pihole_etc:/etc/pihole"
      - "pihole_dnsmasq:/etc/dnsmasq.d"
    cap_add:
      - NET_ADMIN
    networks:
      - njorddeploy_net
volumes:
  pihole_etc:
    name: "njorddeploy-pihole-etc"
  pihole_dnsmasq:
    name: "njorddeploy-pihole-dnsmasq"

networks:
  njorddeploy_net:

Start de service direct via de commandline: docker compose up -d

Configuratie & Omgevingsvariabelen

Belangrijkste configuratieparameters en standaardwaarden uit de NjordDeploy component-sjabloon:

Variable Default Value Description
PIHOLE_WEB_PASSWORD pi A strong password for the web UI. Required for a clean installation.
PIHOLE_WEB_PORT 8088 The external HTTP port to access the Pi-hole web UI.
PIHOLE_DNS_PORT 53 The external port for DNS queries. Must be 53 for most use cases.

Ecosysteem & Bedrijfsintegratie

Eenvoudig beheren via NjordDeploy

Installeer, bewaak en update deze service met 1 klik op uw eigen Raspberry Pi of Proxmox server via de NjordDeploy Configurator.