From a4c45ce999d708b571ec7a2825fb7b6d3b5c5a15 Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Sun, 25 Jan 2026 01:35:32 +0900 Subject: [PATCH] Add glances configuration file and update docker-compose for storage integration --- docker-compose.yml | 4 +++- glances.conf | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 glances.conf diff --git a/docker-compose.yml b/docker-compose.yml index 5dffcbd..eb14244 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 \ No newline at end of file + - /mnt/storage:/mnt/storage:ro + - ./glances.conf:/config/glances.conf:ro \ No newline at end of file diff --git a/glances.conf b/glances.conf new file mode 100644 index 0000000..452307a --- /dev/null +++ b/glances.conf @@ -0,0 +1,3 @@ +[fs] +allow=mergefs +show=/mnt/storage.* \ No newline at end of file