Created
March 4, 2026 07:06
-
-
Save langerma/442e2278e2a6ad1f8b28baa5d5352f52 to your computer and use it in GitHub Desktop.
a custom app for smartctl-exporter that i use on truenas scale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| smartctl-exporter: | |
| environment: | |
| NVIDIA_VISIBLE_DEVICES: void | |
| TZ: Europe/Vienna | |
| group_add: | |
| - 568 | |
| image: prometheuscommunity/smartctl-exporter:latest | |
| network_mode: host | |
| platform: linux/amd64 | |
| privileged: True | |
| pull_policy: always | |
| restart: unless-stopped | |
| stdin_open: False | |
| tty: False | |
| user: '0:0' | |
| x-notes: > | |
| # iX App | |
| ## Security | |
| **Read the following security precautions to ensure that you wish to continue | |
| using this application.** | |
| --- | |
| ### Container: [smartctl-exporter] | |
| #### Privileged mode is enabled | |
| - Has the same level of control as a system administrator | |
| - Can access and modify any part of your TrueNAS system | |
| #### Running user/group(s) | |
| - User: root | |
| - Group: root | |
| - Supplementary Groups: apps | |
| #### Security option [no-new-privileges] is not set | |
| - Processes can gain additional privileges through setuid/setgid binaries | |
| - Can potentially allow privilege escalation attacks within the container | |
| --- | |
| version: '3.8' | |
| services: | |
| smartctl_exporter: | |
| image: prometheuscommunity/smartctl-exporter:latest | |
| container_name: smartctl-exporter | |
| network_mode: host | |
| user: root | |
| devices: | |
| - "/dev:/dev" # Nur das NVMe-Gerät | |
| restart: unless-stopped | |
| ## Bug Reports and Feature Requests | |
| If you find a bug in this app or have an idea for a new feature, please file | |
| an issue at | |
| https://github.com/truenas/apps | |
| x-portals: | |
| - host: 0.0.0.0 | |
| name: Web UI | |
| path: /metrics | |
| port: 9633 | |
| scheme: http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment