heyer.systems Open Source

Pi-hole

Network-wide DNS ad blocker with a web interface and query statistics.

Install

On the Proxmox node as root:

bash -c "$(curl -fsSL https://iac.heyer.systems/pihole/ct.sh)"

Container from the Debian 13 template · default: 1 CPU, 512 MiB RAM, 4 GiB disk

Customise the commandYour own values for CPU, RAM, network and modules – no dialog

Then: Web interface: http://<IP>/admin/ (password in the guest: grep pihole_admin_password /etc/iac/settings.env) · DNS: <IP>

Update

In the guest (LXC/VM):

update

Debian packages, Pi-hole, modules and the iac configuration. Major versions never change automatically.

Add modules – any time, in containers and VMs alike:

update --list-modules
update --add-modules node-exporter

All modules · More about update

With Docker, in the directory of the docker-compose.yml:

docker compose pull && docker compose up -d