From e8075fb71bf317878ef52d53b3e825e2b4e3bae9 Mon Sep 17 00:00:00 2001 From: Hermes Date: Fri, 22 May 2026 13:53:53 -0400 Subject: [PATCH] fix: also clear API_SERVER_KEY for profile gateways Line 1521 in gateway/config.py: if api_server_enabled or api_server_key: The compose.yml sets API_SERVER_KEY=hermes_local_key, which was enough to enable the API server even with API_SERVER_ENABLED=false. --- run-multi-gateways.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-multi-gateways.sh b/run-multi-gateways.sh index 26db250..f23ac78 100755 --- a/run-multi-gateways.sh +++ b/run-multi-gateways.sh @@ -25,7 +25,7 @@ for profile in "${PROFILES[@]}"; do [ -z "${profile}" ] && continue echo "Starting gateway for profile: ${profile}" - nohup env API_SERVER_ENABLED=false gosu hermes "$HERMES_BIN" --profile "${profile}" gateway run \ + nohup env API_SERVER_ENABLED=false API_SERVER_KEY= gosu hermes "$HERMES_BIN" --profile "${profile}" gateway run \ >> "/opt/data/logs/gateway-${profile}.log" 2>&1 & done