fritzbox-grafana-monitor/fritzbox-exporter-docker/docker-compose.yml
2022-08-18 12:39:22 +00:00

22 lines
628 B
YAML

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