From 7d350a29c5b4cece09748f9df15f532a2ace67fc Mon Sep 17 00:00:00 2001 From: Vincent Composieux Date: Tue, 28 May 2019 21:57:52 +0200 Subject: [PATCH] Added all env vars to docker run example (fixes #4) --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ac0afae..48c5a91 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,12 @@ The exporter is also available as a [Docker image](https://hub.docker.com/r/ekof You can run it using the following example and pass configuration environment variables: ``` -$ docker run -e 'PIHOLE_HOSTNAME=192.168.1.2' ekofr/pihole-exporter:latest +$ docker run \ + -e 'PIHOLE_HOSTNAME=192.168.1.2' \ + -e 'PIHOLE_PASSWORD=mypassword' \ + -e 'INTERVAL=30s' \ + -e 'PORT=93111' \ + ekofr/pihole-exporter:latest ``` ### From sources