A simple Pi-hole docker setup.
.gitignore | ||
config.env | ||
docker-compose.yml | ||
passwd.env.example | ||
pihole.sh | ||
README.md | ||
resolved.conf |
pihole-docker
This is a simple Pi-hole docker setup.
Installing
git clone https://git.staropensource.de/JeremyStarTM/pihole-docker.git pihole
cd pihole
cp passwd.env.example passwd.env
$EDITOR passwd.env
Maintenance
Starting
docker compose up -d
Stopping
docker compose down
Restarting
docker compose restart
Accessing pihole-cli
./pihole.sh
Networking
- Listen address: 127.0.0.1
- Ports
- Web: 8999
- DNS: 53
systemd-resolved
If you use systemd-resolved (default on Arch Linux) you can use this command to apply a premade configuration file:
cp resolved.conf /etc/systemd/resolved.conf
systemctl restart systemd-resolved
resolvectl flush-caches
License
It's in the public domain.