1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 10:15:22 +00:00

Fix docker-compose examples UID/GID settings (#64)

when you change the PUID/PGID in the `.env` file, only the librenms
containers UID/GID are changes which causes permission issues with
rrdcached. rrdcached will still be running with UID=1000 and GID=1000.
As a result of that, no graphs will be rendered.

By adding:
```
- "PUID=${PUID}"
- "PGID=${PGID}"
```

to the rrdcache service the graphs will rendered properly because
rrdcached will also run with the same UID/GID as librenms

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
This commit is contained in:
Ike Devolder 2020-03-29 18:51:14 +02:00 committed by GitHub
parent 345a8d9233
commit 062de7ff85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -36,6 +36,8 @@ services:
- "./rrd-journal:/data/journal"
environment:
- "TZ=${TZ}"
- "PUID=${PUID}"
- "PGID=${PGID}"
- "LOG_LEVEL=LOG_INFO"
- "WRITE_TIMEOUT=1800"
- "WRITE_JITTER=1800"