From 6db3afa97c700326223138c8bfe8373951ec73ff Mon Sep 17 00:00:00 2001 From: f Date: Tue, 3 Nov 2026 18:42:58 -0300 Subject: [PATCH 1/3] fix: smartctl needs access to /dev closes #52 --- compose.smartctl.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/compose.smartctl.yml b/compose.smartctl.yml index 32123bd..29acde3 100644 --- a/compose.smartctl.yml +++ b/compose.smartctl.yml @@ -5,6 +5,7 @@ services: image: "prometheuscommunity/smartctl-exporter:v0.15.0" volumes: - "/var/lib/smartmontools/json:/debug" + - "/dev:/dev" command: - "--smartctl.fake-data" - "--smartctl.interval=1h" -- 2.54.0 From 40d31a535f1a54033b3a2ecaacf3c07b32456672 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 5 Nov 2026 15:30:02 -0300 Subject: [PATCH 2/3] fix: read only access --- compose.smartctl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compose.smartctl.yml b/compose.smartctl.yml index 29acde3..85c89a8 100644 --- a/compose.smartctl.yml +++ b/compose.smartctl.yml @@ -5,7 +5,7 @@ services: image: "prometheuscommunity/smartctl-exporter:v0.15.0" volumes: - "/var/lib/smartmontools/json:/debug" - - "/dev:/dev" + - "/dev:/dev:ro" command: - "--smartctl.fake-data" - "--smartctl.interval=1h" -- 2.54.0 From 085992dab07ecf4dcc2810419301a2881eed472f Mon Sep 17 00:00:00 2001 From: f Date: Thu, 5 Nov 2026 15:30:11 -0300 Subject: [PATCH 3/3] fix: remove unneeded flag --- compose.smartctl.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/compose.smartctl.yml b/compose.smartctl.yml index 85c89a8..09405dd 100644 --- a/compose.smartctl.yml +++ b/compose.smartctl.yml @@ -8,7 +8,6 @@ services: - "/dev:/dev:ro" command: - "--smartctl.fake-data" - - "--smartctl.interval=1h" networks: - "proxy" deploy: -- 2.54.0