From dc266e31487d9090994446e139acf0eae4c3fc93 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:36:08 +0000 Subject: [PATCH] Move env.sh sourcing after fix_config to preserve more environment variables Co-authored-by: whyour <22700758+whyour@users.noreply.github.com> --- docker/docker-entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 7411a013..9011538e 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -18,11 +18,11 @@ export BACK_PORT="${ql_port}" # Export GRPC_PORT from QlGrpcPort for gRPC server to use export GRPC_PORT="${ql_grpc_port}" -# Source env.sh after exporting BACK_PORT and GRPC_PORT so they are captured -. $dir_shell/env.sh - fix_config +# Source env.sh after all config is complete to capture all environment variables +. $dir_shell/env.sh + pm2 l &>/dev/null log_with_style "INFO" "⚙️ 2. 启动 pm2 服务..."