add dht crawler from docker

This commit is contained in:
Victor Shyba 2022-06-27 04:52:11 -03:00
parent 9312be4bef
commit c64046c393
3 changed files with 1419 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -42,6 +42,15 @@ services:
#ports:
# - 4444:4444/udp
dht-crawler:
image: lbry/dht-bootstrap:crawler # metrics at port 8080
entrypoint: python3
command: scripts/dht_crawler.py
container_name: dht_node_crawler
restart: unless-stopped
network_mode: "host"
# node-exporter:
# image: prom/node-exporter:latest
# container_name: monitoring_node_exporter

View file

@ -36,6 +36,13 @@ scrape_configs:
- targets:
- host.docker.internal:7777
- job_name: dht_crawler
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- host.docker.internal:8080
- job_name: lbcd
metrics_path: /
scheme: http