diff --git a/book/installation/docker.md b/book/installation/docker.md index 6a101141b..95ddb86b4 100644 --- a/book/installation/docker.md +++ b/book/installation/docker.md @@ -63,11 +63,11 @@ To run Reth with Docker, run: docker run \ -v rethdata:/root/.local/share/reth/db \ -d \ - -p 9000:9000 \ + -p 9001:9001 \ --name reth \ reth:local \ node \ - --metrics 0.0.0.0:9000 + --metrics 0.0.0.0:9001 ``` The above command will create a container named `reth` and a named volume called `rethdata` for data persistence. diff --git a/etc/prometheus/prometheus.yml b/etc/prometheus/prometheus.yml index e2a690b71..483dcaa05 100644 --- a/etc/prometheus/prometheus.yml +++ b/etc/prometheus/prometheus.yml @@ -3,7 +3,7 @@ scrape_configs: metrics_path: "/" scrape_interval: 5s static_configs: - - targets: ['reth:9001'] + - targets: ['reth:9001', 'localhost:9001'] - job_name: ethereum-metrics-exporter metrics_path: "/metrics" scrape_interval: 5s