fix: use network_mode host for container networking
Nginx needs host network to proxy API requests to rag-backend
This commit is contained in:
parent
4afcf639dd
commit
1fdc5effd7
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -54,8 +54,7 @@ services:
|
|||||||
rag-frontend:
|
rag-frontend:
|
||||||
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
||||||
container_name: rag-frontend
|
container_name: rag-frontend
|
||||||
ports:
|
network_mode: host
|
||||||
- "8080:80"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
DCOF
|
DCOF
|
||||||
docker compose pull
|
docker compose pull
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user