Add glances configuration file and update docker-compose for storage integration

This commit is contained in:
Nik Afiq 2026-01-25 01:35:32 +09:00
parent f13f2340dd
commit a4c45ce999
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,8 @@ services:
environment:
- GLANCES_OPT=-w
- TZ=Asia/Tokyo
- GLANCES_OPT=-C /config/glances.conf -w
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/storage:/mnt/storage:ro
- /mnt/storage:/mnt/storage:ro
- ./glances.conf:/config/glances.conf:ro

3
glances.conf Normal file
View File

@ -0,0 +1,3 @@
[fs]
allow=mergefs
show=/mnt/storage.*