Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

add: glances service

Leonardo Cabezaaf464c2af7c4
diff --git a/public/svgs/glances.png b/public/svgs/glances.png
new file mode 100644
index 0000000000..31e1a09fba
Binary files /dev/null and b/public/svgs/glances.png differ
diff --git a/templates/compose/glances.yaml b/templates/compose/glances.yaml
new file mode 100644
index 0000000000..68894ee341
--- /dev/null
+++ b/templates/compose/glances.yaml
@@ -0,0 +1,31 @@
+# documentation: https://nicolargo.github.io/glances/
+# slogan: An Eye on your system
+# tags: monitoring tool python cross platform
+# logo: svgs/glances.svg
+# port: 61208
+
+services:
+ glances:
+ image: nicolargo/glances:latest
+ restart: unless-stopped
+ environment:
+ - GLANCES_OPT=-w
+ - SERVICE_FQDN_GLANCES_61208
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock:ro
+ - /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro
+ pid: "host"
+ privileged: true
+ healthcheck:
+ test: ["CMD", "curl", "-f", "http://localhost:61208"]
+ interval: 2s
+ timeout: 10s
+ retries: 30
+ # Uncomment for GPU compatibilty (Nvidia) inside the container
+ # deploy:
+ # resources:
+ # reservations:
+ # devices:
+ # - driver: nvidia
+ # count: 1
+ # capabilities: [gpu]