Add README.md
This commit is contained in:
parent
c4d41b6719
commit
aadaec40af
1 changed files with 30 additions and 0 deletions
30
README.md
Normal file
30
README.md
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
# pihole-docker
|
||||||
|
This is a simple [Pi-hole](https://pi-hole.net) docker setup.
|
||||||
|
|
||||||
|
## Using
|
||||||
|
```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
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
It's in the public domain.
|
Loading…
Add table
Reference in a new issue