debug fix v3

This commit is contained in:
Ivan Nikolaev-Axenov 2025-05-30 12:40:18 +03:00
parent 5e47e7a071
commit b88ffe7892
2 changed files with 5 additions and 4 deletions

View file

@ -6,4 +6,4 @@ RUN apk add --update --no-cache postgresql-client
RUN ls RUN ls
CMD [ "sh", "-c", "psql -U clearing -h db -p 5432 -d clearing -f init.sql && tail -f /dev/null" ] CMD [ "sh", "-c", "ls && psql -U clearing -h db -p 5432 -d clearing -f init.sql && tail -f /dev/null" ]

View file

@ -16,7 +16,8 @@ services:
db-updater: db-updater:
build: db-updater build: db-updater
depends_on: depends_on:
- db db:
condition: service_healthy
clearing_system: clearing_system:
build: build:
@ -26,8 +27,8 @@ services:
environment: environment:
- CLR_TEST_NAME=${CLR_TEST_NAME} - CLR_TEST_NAME=${CLR_TEST_NAME}
depends_on: depends_on:
db: db-updater:
condition: service_healthy condition: service_started
kafka: kafka:
condition: service_started condition: service_started
volumes: volumes: