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
|
||||
container_name: dht_node_exporter
|
||||
restart: unless-stopped
|
||||
network_mode: "host"
|
||||
ports:
|
||||
- 4444:4444
|
||||
- 4444:4444/udp
|
||||
|
||||
# node-exporter:
|
||||
# image: prom/node-exporter:latest
|
||||
|
|
|
@ -34,7 +34,7 @@ scrape_configs:
|
|||
scheme: http
|
||||
static_configs:
|
||||
- targets:
|
||||
- dht_node_exporter:7777
|
||||
- host.docker.internal:7777
|
||||
|
||||
- job_name: lbcd
|
||||
metrics_path: /
|
||||
|
|
Loading…
Reference in a new issue