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 服务..."