fix: databases dependencies in cce

This commit is contained in:
David Juarez
2026-07-31 12:23:26 +02:00
parent f0643935a0
commit d218c395ab
2 changed files with 12 additions and 2 deletions
+9
View File
@@ -38,6 +38,9 @@ services:
volumes:
- "/var/cache/bridgehead/cce/exporter-files:/app/exporter-files/output"
depends_on:
exporter-db:
condition: service_healthy
exporter-db:
image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
@@ -49,6 +52,12 @@ services:
volumes:
# Consider removing this volume once we find a solution to save Lens-queries to be executed in the explorer.
- "/var/cache/bridgehead/cce/exporter-db:/var/lib/postgresql/data"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U exporter -d exporter"]
interval: 5s
timeout: 5s
retries: 20
start_period: 10s
reporter:
image: docker.verbis.dkfz.de/ccp/dktk-reporter:latest
+3 -2
View File
@@ -79,10 +79,11 @@ services:
volumes:
- "/var/cache/bridgehead/cce/project-manager-db:/var/lib/postgresql/data"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U project_manager"]
test: ["CMD-SHELL", "pg_isready -U project_manager -d project_manager"]
interval: 5s
timeout: 5s
retries: 5
retries: 20
start_period: 10s
deploy:
resources:
limits: