fix: use network_mode host for container networking
ABP framework requires access to host network for DB/Redis connections
This commit is contained in:
parent
855a7b6880
commit
819eac0edc
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -54,9 +54,7 @@ services:
|
|||||||
rag-backend:
|
rag-backend:
|
||||||
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
image: ${CI_REGISTRY}/${DOCKER_IMAGE}:latest
|
||||||
container_name: rag-backend
|
container_name: rag-backend
|
||||||
ports:
|
network_mode: host
|
||||||
- "5211:5211"
|
|
||||||
- "50051:50051"
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user