use ip + 0.0.0.0

This commit is contained in:
Max Rydahl Andersen 2018-10-08 02:05:14 +02:00
parent 7b5a0551c4
commit c74707cd94
2 changed files with 3 additions and 1 deletions

View file

@ -77,6 +77,8 @@ services:
ports:
- 1915:1915
image: maxandersen/sonos_exporter
command:
- '--address 0.0.0.0:1915'
network_mode: host
nodeexp:

View file

@ -58,5 +58,5 @@ scrape_configs:
- job_name: 'sonos'
static_configs:
- targets: ['localhost:1915']
- targets: ['192.168.1.42:1915']