dht needs to be run in host mode

This commit is contained in:
Victor Shyba 2022-02-06 02:33:25 -03:00
parent b66d5c0e12
commit 85f7935ca7
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -34,7 +34,7 @@ scrape_configs:
scheme: http
static_configs:
- targets:
- dht_node_exporter:7777
- host.docker.internal:7777
- job_name: lbcd
metrics_path: /