Added Fritbox Exporter with Docker

This commit is contained in:
Joachim Hummel 2022-08-18 12:36:31 +00:00
parent 59b5a1edb6
commit 2743e7ad57
1 changed files with 21 additions and 0 deletions

View File

@ -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