From 973477e7ee570d272465d78d92778fd2f8086c4f Mon Sep 17 00:00:00 2001 From: Pablo Castellano Date: Thu, 9 Nov 2023 22:02:20 +0100 Subject: [PATCH] Update README.md (docker) --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 15c25a2..137563b 100644 --- a/README.md +++ b/README.md @@ -7,10 +7,22 @@ Monitor your Ethereum Geth server with Prometheus and Grafana. Checkout the [Gra Run this Prometheus Exporter in a [Docker container](https://hub.docker.com/r/hunterlong/gethexporter/builds/)! Include your Geth server endpoint as `GETH` environment variable. ```bash docker run -it -d -p 9090:9090 \ - -e "GETH="http://mygethserverhere.com:8545" \ + -e GETH="http://mygethserverhere.com:8545" \ hunterlong/gethexporter ``` +For docker compose: + +```yaml +services: + geth_monitor: + image: hunterlong/gethexporter:latest + ports: + - '9090:9090' + environment: + - GETH=http://geth:8545 +``` + ## Features - Current and Average Gas Price - Total amount of ERC20 Token Transfers