2024-02-11 13:05:57 +01:00
|
|
|
# pihole-docker
|
|
|
|
This is a simple [Pi-hole](https://pi-hole.net) docker setup.
|
|
|
|
|
2024-02-11 13:11:38 +01:00
|
|
|
## Installing
|
2024-02-11 13:05:57 +01:00
|
|
|
```bash
|
|
|
|
git clone https://git.staropensource.de/JeremyStarTM/pihole-docker.git pihole
|
|
|
|
cd pihole
|
|
|
|
cp passwd.env.example passwd.env
|
|
|
|
$EDITOR passwd.env
|
|
|
|
```
|
2024-02-11 13:11:38 +01:00
|
|
|
|
2024-02-11 13:05:57 +01:00
|
|
|
## Maintenance
|
|
|
|
### Starting
|
|
|
|
```bash
|
|
|
|
docker compose up -d
|
|
|
|
```
|
|
|
|
### Stopping
|
|
|
|
```bash
|
|
|
|
docker compose down
|
|
|
|
```
|
|
|
|
### Restarting
|
|
|
|
```bash
|
|
|
|
docker compose restart
|
|
|
|
```
|
|
|
|
### Accessing pihole-cli
|
|
|
|
```bash
|
|
|
|
./pihole.sh
|
|
|
|
```
|
|
|
|
|
2024-02-11 13:11:38 +01:00
|
|
|
## Networking
|
|
|
|
- Listen address: 127.0.0.1
|
|
|
|
- Ports
|
|
|
|
- Web: 8999
|
|
|
|
- DNS: 53
|
|
|
|
|
2024-02-11 13:05:57 +01:00
|
|
|
## License
|
|
|
|
It's in the public domain.
|