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:
parent
345a8d9233
commit
062de7ff85
2 changed files with 4 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue