From 11f269cd492ddb67b6e07493ec0634d149daca7e Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sat, 20 Jan 2024 21:37:51 -0600 Subject: [PATCH] readme --- README.md | 2 +- docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cbdff42..0f6f45d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Various tools to monitor Docker containers ## Setup -Set the DOCKER_GUID so the container has permission to access the socket +Set the `DOCKER_GUID` so the container has permission to access the socket. This ensures that the telegraf container will have read access on the Docker socket. ```shell export DOCKER_GUID=$(getent group docker | awk -F ':' '{print $3}') diff --git a/docker-compose.yml b/docker-compose.yml index 3b25b0d..83987e0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ services: telegraf-docker: image: telegraf restart: unless-stopped - user: root:$DOCKER_GUID + user: root:${DOCKER_GUID} env_file: - .env volumes: