We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bb023 commit 33f11eaCopy full SHA for 33f11ea
README.md
@@ -27,7 +27,16 @@ indexer specifically targets the [`Deposit` contract][deposit-contract].
27
DB_URL=postgresql://postgres:postgres@localhost:5432/zilliqa
28
```
29
30
-2. **Run the Docker container**:
+1. **Expose Prometheus Metrics (Optional)**: To enable Prometheus metrics, set
31
+ the `PROMETHEUS_PORT` environment variable in the `.env` file. Metrics will
32
+ be accessible at `http://localhost:<PROMETHEUS_PORT>/metrics` within the
33
+ container.
34
+
35
+ ```env
36
+ PROMETHEUS_PORT=3000
37
+ ```
38
39
+1. **Run the Docker container**:
40
41
```bash
42
docker run --env-file .env ghcr.io/blockscout/zilliqa-stakers-squid:0.1.0
0 commit comments