Fix the DOCKSTAT_LISTEN_PORT
examples in the README.md
This commit is contained in:
parent
613e56c92a
commit
5a14cd5dbd
|
@ -71,7 +71,7 @@ container_inspect_downtime_alert_threshold{id="470e17a15751881cc0787f9aab6f1af00
|
|||
* Requires access to the Docker socket (`/var/run/docker.sock`)
|
||||
* The port `dockstat` listens on can be changed using the `DOCKSTAT_LISTEN_PORT` environment variable. Default: `8080`
|
||||
|
||||
e.g. `LISTEN_PORT=80 python3 dockstat.py`
|
||||
e.g. `DOCKSTAT_LISTEN_PORT=80 python3 dockstat.py`
|
||||
|
||||
# Docker
|
||||
## Build
|
||||
|
@ -94,7 +94,7 @@ services:
|
|||
container_name: dockstat
|
||||
environment:
|
||||
- TZ=Europe/London
|
||||
- LISTEN_PORT=80
|
||||
- DOCKSTAT_LISTEN_PORT=80
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
restart: unless-stopped
|
||||
|
|
Loading…
Reference in a new issue