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`)
|
* 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`
|
* 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
|
# Docker
|
||||||
## Build
|
## Build
|
||||||
|
@ -94,7 +94,7 @@ services:
|
||||||
container_name: dockstat
|
container_name: dockstat
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
- LISTEN_PORT=80
|
- DOCKSTAT_LISTEN_PORT=80
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
Loading…
Reference in a new issue