| 1 | # prometheus-varnish-exporter Docker image |
| 2 | |
| 3 | This is the Docker Image for [prometheus_varnish_exporter](https://github.com/otto-de/prometheus_varnish_exporter) sidecar container to expose Prometheus metrics for Varnish. |
| 4 | |
| 5 | ## Configuration |
| 6 | |
| 7 | You can set the following environment variable to customize the behavior: |
| 8 | |
| 9 | - `VARNISH_VSM` location of the Varnish VSM (defaults to `/var/lib/varnish`) |
| 10 | |
| 11 | ## Building |
| 12 | |
| 13 | Navigate to the root of this repository and run: |
| 14 | |
| 15 | ```shell |
| 16 | goreleaser release --snapshot --clean |
| 17 | ``` |
| 18 | |
| 19 | ## Running |
| 20 | |
| 21 | ```shell |
| 22 | docker image ls ghcr.io/otto-de/prometheus-varnish-exporter |
| 23 | # select the desired image from the list and run it like this: |
| 24 | docker run --rm -it ghcr.io/otto-de/prometheus-varnish-exporter:latest-arm64 --help |
| 25 | ``` |