From 5a14cd5dbd4350ffa6db6f39ce7bf6b7b97747ce Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Fri, 8 Oct 2021 13:38:14 +0100 Subject: [PATCH] Fix the `DOCKSTAT_LISTEN_PORT` examples in the README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aba4630..eb51cbf 100644 --- a/README.md +++ b/README.md @@ -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