Added all env vars to docker run example (fixes #4)

This commit is contained in:
Vincent Composieux 2019-05-28 21:57:52 +02:00
parent c87fd560c5
commit 7d350a29c5
No known key found for this signature in database
GPG key ID: 7306974ABA6382AC

View file

@ -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