mirror of https://github.com/nicolargo/glances.git
Update docker-compose.yml
added commented out by default mount point for /etc/os-release. without it Glances container shows distibution information from container itself and not host system.
This commit is contained in:
parent
3a1e188d58
commit
202289599d
|
|
@ -12,6 +12,9 @@ services:
|
|||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||
- "/run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro"
|
||||
- "./glances.conf:/glances/conf/glances.conf"
|
||||
# # Uncomment for proper distro information in upper panel.
|
||||
# # Works only for distros that do have this file (most of distros do).
|
||||
# - "/etc/os-release:/etc/os-release:ro"
|
||||
environment:
|
||||
- TZ=${TZ}
|
||||
- GLANCES_OPT=-C /glances/conf/glances.conf -w
|
||||
|
|
|
|||
Loading…
Reference in New Issue