Skip to content

Commit

Permalink
Update Pihole and add exporter pi hole
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravindra JOB committed Jul 1, 2021
1 parent 76b319d commit ede3103
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ Use this command to get the admin password
```console
docker logs pihole | grep random
```
Use this dashboard for grafana :
https://grafana.com/grafana/dashboards/10176


### For LOKI
"Loki - Cloud Native Log Aggregation by Grafana"
Expand Down
12 changes: 12 additions & 0 deletions pi-hole/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ services:
# - NET_ADMIN
restart: unless-stopped

pihole-exporter:
image: 'ekofr/pihole-exporter:latest'
environment:
- PIHOLE_HOSTNAME=pihole
- PIHOLE_PASSWORD=YourPasswoord
- INTERVAL=30s
- PORT=9617
ports:
- '9617:9617'
restart: unless-stopped


networks:
default:
driver: bridge
Expand Down

0 comments on commit ede3103

Please sign in to comment.