From c5033dc6109e72d4a87f15b9165f5fbe5c58ed78 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Wed, 8 Jul 2026 02:20:36 -0600 Subject: [PATCH] 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 --- blueprints/glances/docker-compose.yml | 4 +--- blueprints/glances/template.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/blueprints/glances/docker-compose.yml b/blueprints/glances/docker-compose.yml index 84d88cdd..9d6e2a73 100644 --- a/blueprints/glances/docker-compose.yml +++ b/blueprints/glances/docker-compose.yml @@ -10,9 +10,7 @@ services: - /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}" + GLANCES_OPT: "-w" volumes: glances-data: diff --git a/blueprints/glances/template.toml b/blueprints/glances/template.toml index 65862bfb..5635aaed 100644 --- a/blueprints/glances/template.toml +++ b/blueprints/glances/template.toml @@ -2,7 +2,7 @@ main_domain = "${domain}" [config] -env = { GLANCES_PASSWORD = "" } +env = {} mounts = [] [[config.domains]]