diff --git a/docker-compose.yml b/docker-compose.yml index c5c626d..6df7e47 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -77,6 +77,8 @@ services: ports: - 1915:1915 image: maxandersen/sonos_exporter + command: + - '--address 0.0.0.0:1915' network_mode: host nodeexp: diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index fa1f11f..98f81a8 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -58,5 +58,5 @@ scrape_configs: - job_name: 'sonos' static_configs: - - targets: ['localhost:1915'] + - targets: ['192.168.1.42:1915'] \ No newline at end of file