dht needs to be run in host mode
This commit is contained in:
parent
b66d5c0e12
commit
85f7935ca7
2 changed files with 3 additions and 2 deletions
|
@ -39,8 +39,9 @@ services:
|
||||||
command: --metrics_port 7777
|
command: --metrics_port 7777
|
||||||
container_name: dht_node_exporter
|
container_name: dht_node_exporter
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
network_mode: "host"
|
||||||
ports:
|
ports:
|
||||||
- 4444:4444
|
- 4444:4444/udp
|
||||||
|
|
||||||
# node-exporter:
|
# node-exporter:
|
||||||
# image: prom/node-exporter:latest
|
# image: prom/node-exporter:latest
|
||||||
|
|
|
@ -34,7 +34,7 @@ scrape_configs:
|
||||||
scheme: http
|
scheme: http
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- dht_node_exporter:7777
|
- host.docker.internal:7777
|
||||||
|
|
||||||
- job_name: lbcd
|
- job_name: lbcd
|
||||||
metrics_path: /
|
metrics_path: /
|
||||||
|
|
Loading…
Reference in a new issue