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:
korn3r 2025-07-21 02:05:09 +03:00 committed by GitHub
parent 3a1e188d58
commit 202289599d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -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