From 265e77bbf861a2748d7470f7eedde2b0d8e89945 Mon Sep 17 00:00:00 2001 From: Debojyoti Mandal Date: Wed, 8 Apr 2026 19:21:56 +0530 Subject: [PATCH] feat: add Glances system monitoring template --- blueprints/glances/docker-compose.yml | 18 ++++++++++++++++++ blueprints/glances/glances.svg | 8 ++++++++ blueprints/glances/template.toml | 11 +++++++++++ meta.json | 15 +++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 blueprints/glances/docker-compose.yml create mode 100644 blueprints/glances/glances.svg create mode 100644 blueprints/glances/template.toml diff --git a/blueprints/glances/docker-compose.yml b/blueprints/glances/docker-compose.yml new file mode 100644 index 00000000..84d88cdd --- /dev/null +++ b/blueprints/glances/docker-compose.yml @@ -0,0 +1,18 @@ +version: "3.8" + +services: + glances: + image: nicolargo/glances:4.3.0.8-full + restart: unless-stopped + # pid:host is required so Glances can see host-level processes + pid: host + volumes: + - /var/run/docker.sock:/var/run/docker.sock:ro + - glances-data:/glances/exports + environment: + GLANCES_OPT: "-w --password" + GLANCES_USERNAME: "${GLANCES_USERNAME:-admin}" + GLANCES_PASSWORD: "${GLANCES_PASSWORD}" + +volumes: + glances-data: diff --git a/blueprints/glances/glances.svg b/blueprints/glances/glances.svg new file mode 100644 index 00000000..1d848045 --- /dev/null +++ b/blueprints/glances/glances.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/blueprints/glances/template.toml b/blueprints/glances/template.toml new file mode 100644 index 00000000..65862bfb --- /dev/null +++ b/blueprints/glances/template.toml @@ -0,0 +1,11 @@ +[variables] +main_domain = "${domain}" + +[config] +env = { GLANCES_PASSWORD = "" } +mounts = [] + +[[config.domains]] +serviceName = "glances" +port = 61208 +host = "${main_domain}" diff --git a/meta.json b/meta.json index 3ae0cb5e..110460a9 100644 --- a/meta.json +++ b/meta.json @@ -2760,6 +2760,21 @@ "rss" ] }, + { + "id": "glances", + "name": "Glances", + "version": "4.3.0.8", + "description": "Glances is a cross-platform system monitoring tool written in Python.", + "logo": "glances.svg", + "links": { + "github": "https://github.com/nicolargo/glances", + "website": "https://nicolargo.github.io/glances/", + "docs": "https://glances.readthedocs.io/" + }, + "tags": [ + "monitoring" + ] + }, { "id": "glitchtip", "name": "Glitchtip",