Update Docker images and healthcheck in ovis-compose.yml

Updated backend and frontend images, modified healthcheck command, and added a volume for dynamic catalogue.
This commit is contained in:
tm16-medma
2026-03-17 16:09:05 +01:00
committed by GitHub
parent 815e9cbca0
commit b7d1adf91d
+8 -6
View File
@@ -92,7 +92,7 @@ services:
- /var/cache/bridgehead/ccp/ovis/shared_data:/shared - /var/cache/bridgehead/ccp/ovis/shared_data:/shared
backend: backend:
image: docker.verbis.dkfz.de/ovis/adt-mon-gql-backend:latest image: docker.verbis.dkfz.de/ovis/ovis-backend-apollo:latest
container_name: bridgehead-ccp-ovis-backend container_name: bridgehead-ccp-ovis-backend
restart: always restart: always
user: root user: root
@@ -108,11 +108,10 @@ services:
- ovis-backend-data-preprocessing - ovis-backend-data-preprocessing
- ovis-backend-data-import - ovis-backend-data-import
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:${APOLLO_PORT:-4001}/health"] test: ["CMD-SHELL", "test -d /app/node_modules/mongodb"]
interval: 5s interval: 10s
timeout: 3s timeout: 5s
retries: 5 retries: 5
start_period: 10s
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.ovis-backend.rule=Host(`${HOST:-localhost}`) && PathPrefix(`/graphql`)" - "traefik.http.routers.ovis-backend.rule=Host(`${HOST:-localhost}`) && PathPrefix(`/graphql`)"
@@ -125,7 +124,7 @@ services:
- "traefik.http.services.ovis-backend.loadbalancer.server.port=${APOLLO_PORT:-4001}" - "traefik.http.services.ovis-backend.loadbalancer.server.port=${APOLLO_PORT:-4001}"
frontend: frontend:
image: docker.verbis.dkfz.de/ovis/adt-mon-gql-frontend:latest image: docker.verbis.dkfz.de/ovis/ovis-frontend:latest
container_name: bridgehead-ccp-ovis-frontend container_name: bridgehead-ccp-ovis-frontend
restart: always restart: always
environment: environment:
@@ -145,6 +144,9 @@ services:
depends_on: depends_on:
backend: backend:
condition: service_healthy condition: service_healthy
volumes:
# Dynamic catalogue from preprocessing service
- /var/cache/bridgehead/ccp/ovis/shared_data:/app/dynamic-catalogue:ro
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.ovis-frontend.tls=true" - "traefik.http.routers.ovis-frontend.tls=true"