mirror of
https://github.com/samply/bridgehead.git
synced 2026-05-01 18:49:43 +02:00
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:
@@ -92,7 +92,7 @@ services:
|
||||
- /var/cache/bridgehead/ccp/ovis/shared_data:/shared
|
||||
|
||||
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
|
||||
restart: always
|
||||
user: root
|
||||
@@ -108,11 +108,10 @@ services:
|
||||
- ovis-backend-data-preprocessing
|
||||
- ovis-backend-data-import
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:${APOLLO_PORT:-4001}/health"]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
test: ["CMD-SHELL", "test -d /app/node_modules/mongodb"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 10s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "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}"
|
||||
|
||||
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
|
||||
restart: always
|
||||
environment:
|
||||
@@ -145,6 +144,9 @@ services:
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
# Dynamic catalogue from preprocessing service
|
||||
- /var/cache/bridgehead/ccp/ovis/shared_data:/app/dynamic-catalogue:ro
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ovis-frontend.tls=true"
|
||||
|
||||
Reference in New Issue
Block a user