fix: use network_mode host for container networking

Nginx needs host network to proxy API requests to rag-backend
This commit is contained in:
向宁 2026-05-17 19:42:54 +08:00
parent 4afcf639dd
commit 1fdc5effd7

3
Jenkinsfile vendored
View File

@ -54,8 +54,7 @@ services:
rag-frontend:
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
container_name: rag-frontend
ports:
- "8080:80"
network_mode: host
restart: unless-stopped
DCOF
docker compose pull