fix(monitoring): escape shell vars in glances command

Compose ate ${GLANCES_OPT}/${PYTHON_VERSION} in the command string
(empty), leaving bare 'glances' → TUI mode vs curses crash.
This commit is contained in:
Arnout van Westen committed 2026-10-02 16:36:46 +02:00
1 parent eab961c91e
commit 34e06f3062
1 file changed
+2 -1
+2 -1
View File
@@ -66,7 +66,8 @@ services:
command:
- "/bin/sh"
- "-c"
- "/venv/bin/python${PYTHON_VERSION} -m glances ${GLANCES_OPT}"
# $$ zodat compose niet interpoleert; shell doet dit runtime
- "/venv/bin/python$${PYTHON_VERSION} -m glances $${GLANCES_OPT}"
container_name: "glances"
environment:
- "GLANCES_OPT=-w -C /config/glances.conf"