added note about docker gid

This commit is contained in:
William
2023-11-23 02:11:53 +00:00
parent 6eb8b7943b
commit e4cd766e4f
2 changed files with 8 additions and 1 deletions

View File

@@ -8,3 +8,10 @@ Various tools to monitor Docker containers
- `INFLUX_WRITE_TOKEN` - `INFLUX_WRITE_TOKEN`
- `INFLUX_HOST` - `INFLUX_HOST`
- `LOKI_HOST` - `LOKI_HOST`
## Setup
```shell
root@docker:~/docker-observation# getent group docker
docker:x:995:root
```

View File

@@ -3,7 +3,7 @@ services:
telegraf-docker: telegraf-docker:
image: telegraf image: telegraf
restart: unless-stopped restart: unless-stopped
user: root:996 user: root:995
env_file: env_file:
- .env - .env
volumes: volumes: