mirror of
https://github.com/samply/bridgehead.git
synced 2026-08-14 23:20:41 +02:00
fix: databases dependencies in cce
This commit is contained in:
@@ -38,6 +38,9 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- "/var/cache/bridgehead/cce/exporter-files:/app/exporter-files/output"
|
- "/var/cache/bridgehead/cce/exporter-files:/app/exporter-files/output"
|
||||||
|
depends_on:
|
||||||
|
exporter-db:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
exporter-db:
|
exporter-db:
|
||||||
image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
|
image: docker.verbis.dkfz.de/cache/postgres:${POSTGRES_TAG}
|
||||||
@@ -49,6 +52,12 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
# Consider removing this volume once we find a solution to save Lens-queries to be executed in the explorer.
|
# 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"
|
- "/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:
|
reporter:
|
||||||
image: docker.verbis.dkfz.de/ccp/dktk-reporter:latest
|
image: docker.verbis.dkfz.de/ccp/dktk-reporter:latest
|
||||||
|
|||||||
@@ -79,10 +79,11 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "/var/cache/bridgehead/cce/project-manager-db:/var/lib/postgresql/data"
|
- "/var/cache/bridgehead/cce/project-manager-db:/var/lib/postgresql/data"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "pg_isready -U project_manager"]
|
test: ["CMD-SHELL", "pg_isready -U project_manager -d project_manager"]
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 5
|
retries: 20
|
||||||
|
start_period: 10s
|
||||||
deploy:
|
deploy:
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
Reference in New Issue
Block a user