From b88ffe7892b4afff40eaa6e3faa2cb9dbf669e1c Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Fri, 30 May 2025 12:40:18 +0300 Subject: [PATCH] debug fix v3 --- clr_test/db-updater/Dockerfile | 2 +- clr_test/docker-compose.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/clr_test/db-updater/Dockerfile b/clr_test/db-updater/Dockerfile index 2d8637517..414965632 100644 --- a/clr_test/db-updater/Dockerfile +++ b/clr_test/db-updater/Dockerfile @@ -6,4 +6,4 @@ RUN apk add --update --no-cache postgresql-client RUN ls -CMD [ "sh", "-c", "psql -U clearing -h db -p 5432 -d clearing -f init.sql && tail -f /dev/null" ] \ No newline at end of file +CMD [ "sh", "-c", "ls && psql -U clearing -h db -p 5432 -d clearing -f init.sql && tail -f /dev/null" ] \ No newline at end of file diff --git a/clr_test/docker-compose.yml b/clr_test/docker-compose.yml index e7e1bbbf4..8a5bd284a 100644 --- a/clr_test/docker-compose.yml +++ b/clr_test/docker-compose.yml @@ -16,7 +16,8 @@ services: db-updater: build: db-updater depends_on: - - db + db: + condition: service_healthy clearing_system: build: @@ -26,8 +27,8 @@ services: environment: - CLR_TEST_NAME=${CLR_TEST_NAME} depends_on: - db: - condition: service_healthy + db-updater: + condition: service_started kafka: condition: service_started volumes: