From 2743e7ad576551056160333c7c05483550ea49a3 Mon Sep 17 00:00:00 2001 From: Joachim Hummel Date: Thu, 18 Aug 2022 12:36:31 +0000 Subject: [PATCH] Added Fritbox Exporter with Docker --- fritzbox-exporter-docker/docker-compose.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 fritzbox-exporter-docker/docker-compose.yml diff --git a/fritzbox-exporter-docker/docker-compose.yml b/fritzbox-exporter-docker/docker-compose.yml new file mode 100644 index 0000000..e1e1bf1 --- /dev/null +++ b/fritzbox-exporter-docker/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' +services: + fritzbox-prometheus-exporter: + hostname: fritzbox-prometheus-exporter + build: + context: . + dockerfile: Dockerfile + container_name: fritzbox-prometheus-exporter + # for dns issues like "dial tcp: lookup fritz.box on 127.0.0.11:53: no such host" + # uncomment and fill the following line: + # dns: YOUR_FRITZBOX_IP + ports: + - "9042:9042" + #expose: + # - "9042" + restart: unless-stopped + environment: + USERNAME: your_fritzbox_username + PASSWORD: your_fritzbox_password + GATEWAY_URL: http://192.168.0.1:49000 + LISTEN_ADDRESS: 0.0.0.0:9042