forked from admin/ansible
fix(hermes_squid): drop shell default syntax from HERMES_PROXY_TOKEN
brencher parses ${VAR} via re.sub on the literal token name. ${HERMES_PROXY_TOKEN:-}
collapses to the token 'HERMES_PROXY_TOKEN:-' which is not in the env dict, raising
KeyError at deploy step. Plain ${HERMES_PROXY_TOKEN} resolves to empty string when
the env is unset, which is what the shell default was protecting against.
This commit is contained in:
@@ -285,7 +285,7 @@ services:
|
||||
VOICE_GATEWAY_HOST: "0.0.0.0"
|
||||
VOICE_GATEWAY_PORT: "8765"
|
||||
HERMES_PROXY_URL: "http://hermes-proxy:8645"
|
||||
HERMES_PROXY_TOKEN: "${HERMES_PROXY_TOKEN:-}"
|
||||
HERMES_PROXY_TOKEN: "${HERMES_PROXY_TOKEN}"
|
||||
SAMPLE_RATE_IN: "16000"
|
||||
SAMPLE_RATE_OUT: "22050"
|
||||
LLM_MODEL: "MiniMax-M3"
|
||||
|
||||
Reference in New Issue
Block a user