fix: use network_mode host for container networking

ABP framework requires access to host network for DB/Redis connections
This commit is contained in:
向宁 2026-05-17 19:42:53 +08:00
parent 855a7b6880
commit 819eac0edc

4
Jenkinsfile vendored
View File

@ -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