Self-host Glances with Levelrail
A cross-platform system monitor showing CPU, memory, disk, and network at a glance.
- Authornicolargo
- LicenceLGPL-3.0-only
- Memory128 MiB
- Archarm64
- Services1
How to self-host Glances
-
Pull the images
One image is pulled on your server.
Show images
nicolargo/glances:3.4.0-full
-
Create the app
One service starts in a single Compose app, on port 61208.
-
Fill in the secrets
1 setting is preset, you do not have to fill in anything.
-
Open it
Without a domain the app gets an sslip.io address; add --domain SERVICE=HOST to use your own.
Glances requirements
- Memory
- About 128 MiB
- Architectures
- amd64 image published, arm64 image published
- Ports
- 61208
- Domain
- Optional, an sslip.io address is used without one
- Settings
- none to fill in
- License
- LGPL-3.0-only, copyleft license
- Listed. It is in the catalog but not verified. Back up the data volume before changing an image tag.
- Host ports. It publishes port 61208 on the host, so open them in the VPS firewall only if you want that.
Install Levelrail first
On a server with Levelrail running, run the command above, or open the dashboard: Apps, New app, Browse templates, then Glances. New to Levelrail? Install it on a fresh VPS first.
docker pull ghcr.io/glincker/levelrail:latest Then levelrail-cli login --device. See Getting started and the Glances docs page.
Deploy Glances your way
Every format below deploys the same pinned images. Pick the one that fits how you work.
Deploy Glances from the CLI
levelrail-cli templates deploy glances --name my-glances Deploy Glances with the API
curl -X POST -H "Authorization: Bearer $TOKEN" \
https://levelrail.example.com/api/v1/service-templates/glances/deploy Glances configuration
Glances services
| Service | Image | Ports | Volumes |
|---|---|---|---|
| glances | nicolargo/glances:3.4.0-full | 61208 | none |
Glances environment variables
| Variable | Service | Value |
|---|---|---|
| GLANCES_OPT | glances | Preset by the template |
Ports and volumes
- Ports
- 61208
- Volumes
- none
Glances FAQ
How much memory does Glances need?
The catalog lists about 128 MiB of memory for Glances.
Does Glances run on arm64?
For Glances, an arm64 image is published; amd64 is image published.
What licence is Glances under?
Glances is licensed under LGPL-3.0-only, which is copyleft, so changes you distribute must be shared under the same terms.
Does Glances need configuration before it starts?
No. The template fills in its own defaults.
Which ports does Glances use?
Glances listens on port 61208 inside the stack.
Can I deploy Glances on Dokploy or Dokku?
The services and pinned images on this page can be run on any Docker host. The public Dokploy templates list has an entry with the id glances for this app, so check that entry as well. Dokku deploys container images with its own commands, so the pinned image nicolargo/glances:3.4.0-full is what you deploy there.