mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-03-25 00:17:39 +08:00
Expose go version server and admin server port out of docker in CI (#13572)
### What problem does this PR solve? - Print Go version log when start server - Expose the server port in CI docker container ### Type of change - [x] Other (please describe): For CI Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -185,6 +185,8 @@ jobs:
|
||||
SVR_HTTP_PORT=$((9380 + RUNNER_NUM * 10))
|
||||
ADMIN_SVR_HTTP_PORT=$((9381 + RUNNER_NUM * 10))
|
||||
SVR_MCP_PORT=$((9382 + RUNNER_NUM * 10))
|
||||
GO_HTTP_PORT=$((9384 + RUNNER_NUM * 10))
|
||||
GO_ADMIN_PORT=$((9385 + RUNNER_NUM * 10))
|
||||
SANDBOX_EXECUTOR_MANAGER_PORT=$((9385 + RUNNER_NUM * 10))
|
||||
SVR_WEB_HTTP_PORT=$((80 + RUNNER_NUM * 10))
|
||||
SVR_WEB_HTTPS_PORT=$((443 + RUNNER_NUM * 10))
|
||||
@ -205,6 +207,8 @@ jobs:
|
||||
echo -e "SVR_HTTP_PORT=${SVR_HTTP_PORT}" >> docker/.env
|
||||
echo -e "ADMIN_SVR_HTTP_PORT=${ADMIN_SVR_HTTP_PORT}" >> docker/.env
|
||||
echo -e "SVR_MCP_PORT=${SVR_MCP_PORT}" >> docker/.env
|
||||
echo -e "GO_HTTP_PORT=${GO_HTTP_PORT}" >> docker/.env
|
||||
echo -e "GO_ADMIN_PORT=${GO_ADMIN_PORT}" >> docker/.env
|
||||
echo -e "SANDBOX_EXECUTOR_MANAGER_PORT=${SANDBOX_EXECUTOR_MANAGER_PORT}" >> docker/.env
|
||||
echo -e "SVR_WEB_HTTP_PORT=${SVR_WEB_HTTP_PORT}" >> docker/.env
|
||||
echo -e "SVR_WEB_HTTPS_PORT=${SVR_WEB_HTTPS_PORT}" >> docker/.env
|
||||
|
||||
Reference in New Issue
Block a user