Skip to content

Commit

Permalink
Added all env vars to docker run example (fixes #4)
Browse files Browse the repository at this point in the history
  • Loading branch information
eko committed May 28, 2019
1 parent c87fd56 commit 7d350a2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -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
Expand Down

0 comments on commit 7d350a2

Please sign in to comment.