Added all env vars to docker run example (fixes #4)
This commit is contained in:
parent
c87fd560c5
commit
7d350a29c5
1 changed files with 6 additions and 1 deletions
|
@ -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:
|
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
|
### From sources
|
||||||
|
|
Loading…
Reference in a new issue