# pihole-docker This is a simple [Pi-hole](https://pi-hole.net) docker setup. ## Installing ```bash git clone https://git.staropensource.de/JeremyStarTM/pihole-docker.git pihole cd pihole cp passwd.env.example passwd.env $EDITOR passwd.env ``` ## Maintenance ### Starting ```bash docker compose up -d ``` ### Stopping ```bash docker compose down ``` ### Restarting ```bash docker compose restart ``` ### Accessing pihole-cli ```bash ./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: ```bash cp resolved.conf /etc/systemd/resolved.conf systemctl restart systemd-resolved resolvectl flush-caches ``` ## License It's in the public domain.