Files
templates/blueprints/glances/docker-compose.yml
Mauricio Siu c5033dc610 fix: remove interactive --password flag so Glances web server can start
The --password flag makes Glances prompt for a password interactively
via getpass, which fails in a non-TTY container. The container kept
crash-looping, so Traefik returned 404 for the domain. Glances also
does not read GLANCES_USERNAME/GLANCES_PASSWORD env vars, so the auth
setup was ineffective. Run the web server with GLANCES_OPT=-w and drop
the unused password env vars from the compose file and template.toml.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 02:20:36 -06:00

17 lines
359 B
YAML

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"
volumes:
glances-data: