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.
This commit is contained in:
@@ -25,7 +25,7 @@ for profile in "${PROFILES[@]}"; do
|
|||||||
[ -z "${profile}" ] && continue
|
[ -z "${profile}" ] && continue
|
||||||
|
|
||||||
echo "Starting gateway for profile: ${profile}"
|
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 &
|
>> "/opt/data/logs/gateway-${profile}.log" 2>&1 &
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user