From 819eac0edc25fa734a2951f2b079445e11d90c7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E5=AE=81?= <1772105645@qq.com> Date: Sun, 17 May 2026 19:42:53 +0800 Subject: [PATCH] fix: use network_mode host for container networking ABP framework requires access to host network for DB/Redis connections --- Jenkinsfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index de55bcd..aea6753 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -54,9 +54,7 @@ services: rag-backend: image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest container_name: rag-backend - ports: - - "5211:5211" - - "50051:50051" + network_mode: host restart: unless-stopped environment: - ASPNETCORE_ENVIRONMENT=Production