commit
ffad980ef9
1 changed files with 8 additions and 8 deletions
16
README.md
16
README.md
|
@ -82,10 +82,10 @@ To do so, you can specify a list of hostnames, protocols, passwords/API tokens a
|
|||
|
||||
```
|
||||
$ docker run \
|
||||
-e 'PIHOLE_PROTOCOL="http,http,http" \
|
||||
-e 'PIHOLE_HOSTNAME="192.168.1.2,192.168.1.3,192.168.1.4"' \
|
||||
-e "PIHOLE_API_TOKEN="$API_TOKEN1,$API_TOKEN2,$API_TOKEN3" \
|
||||
-e "PIHOLE_PORT="8080,8081,8080" \
|
||||
-e 'PIHOLE_PROTOCOL=http,http,http" \
|
||||
-e 'PIHOLE_HOSTNAME=192.168.1.2,192.168.1.3,192.168.1.4"' \
|
||||
-e "PIHOLE_API_TOKEN=$API_TOKEN1,$API_TOKEN2,$API_TOKEN3" \
|
||||
-e "PIHOLE_PORT=8080,8081,8080" \
|
||||
-e 'PORT=9617' \
|
||||
-p 9617:9617 \
|
||||
ekofr/pihole-exporter:latest
|
||||
|
@ -95,10 +95,10 @@ If port, protocol and API token/password is the same for all instances, you can
|
|||
|
||||
```
|
||||
$ docker run \
|
||||
-e 'PIHOLE_PROTOCOL=",http" \
|
||||
-e 'PIHOLE_HOSTNAME="192.168.1.2,192.168.1.3,192.168.1.4"' \
|
||||
-e "PIHOLE_API_TOKEN="$API_TOKEN" \
|
||||
-e "PIHOLE_PORT="8080" \
|
||||
-e 'PIHOLE_PROTOCOL=,http" \
|
||||
-e 'PIHOLE_HOSTNAME=192.168.1.2,192.168.1.3,192.168.1.4"' \
|
||||
-e "PIHOLE_API_TOKEN=$API_TOKEN" \
|
||||
-e "PIHOLE_PORT=8080" \
|
||||
-e 'PORT=9617' \
|
||||
-p 9617:9617 \
|
||||
ekofr/pihole-exporter:latest
|
||||
|
|
Loading…
Reference in a new issue