mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 11:25:25 +02:00
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>
12 lines
150 B
TOML
12 lines
150 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
|
|
[config]
|
|
env = {}
|
|
mounts = []
|
|
|
|
[[config.domains]]
|
|
serviceName = "glances"
|
|
port = 61208
|
|
host = "${main_domain}"
|