mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2024-12-26 14:04:34 +00:00
use ip + 0.0.0.0
This commit is contained in:
parent
7b5a0551c4
commit
c74707cd94
|
@ -77,6 +77,8 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- 1915:1915
|
- 1915:1915
|
||||||
image: maxandersen/sonos_exporter
|
image: maxandersen/sonos_exporter
|
||||||
|
command:
|
||||||
|
- '--address 0.0.0.0:1915'
|
||||||
network_mode: host
|
network_mode: host
|
||||||
|
|
||||||
nodeexp:
|
nodeexp:
|
||||||
|
|
|
@ -58,5 +58,5 @@ scrape_configs:
|
||||||
|
|
||||||
- job_name: 'sonos'
|
- job_name: 'sonos'
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:1915']
|
- targets: ['192.168.1.42:1915']
|
||||||
|
|
Loading…
Reference in a new issue