From 90f1f47d67be5159f362eb17007b85038618835f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 28 Nov 2023 14:25:58 -0800 Subject: [PATCH] Init exporter-pihole --- fighter/config/monitoring/docker-compose.yml | 12 ++++++++++++ fighter/config/monitoring/exporter-pihole.env | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 fighter/config/monitoring/exporter-pihole.env diff --git a/fighter/config/monitoring/docker-compose.yml b/fighter/config/monitoring/docker-compose.yml index 43d75c8..01c510e 100644 --- a/fighter/config/monitoring/docker-compose.yml +++ b/fighter/config/monitoring/docker-compose.yml @@ -56,6 +56,18 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro labels: - traefik.enable=false + + exporter-pihole: + image: + container_name: monitoring_exporter-pihole + env_file: + - exporter-pihole_secrets.env + - exporter-pihole.env + restart: "no" + networks: + - monitoring + labels: + - traefik.enable=false uptime-kuma: image: louislam/uptime-kuma:1 diff --git a/fighter/config/monitoring/exporter-pihole.env b/fighter/config/monitoring/exporter-pihole.env new file mode 100644 index 0000000..f570063 --- /dev/null +++ b/fighter/config/monitoring/exporter-pihole.env @@ -0,0 +1,2 @@ +PIHOLE_HOSTNAME=192.168.1.32 +PORT=9617 \ No newline at end of file