From f12b5c189e5965eba855d9a14033ed842a8d0ae9 Mon Sep 17 00:00:00 2001 From: KonstantAnxiety Date: Thu, 19 Dec 2024 22:32:37 +0300 Subject: [PATCH] add hc --- lib/dl_file_uploader_api_lib/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/dl_file_uploader_api_lib/docker-compose.yml b/lib/dl_file_uploader_api_lib/docker-compose.yml index 550093fa2..c3a6f5b17 100644 --- a/lib/dl_file_uploader_api_lib/docker-compose.yml +++ b/lib/dl_file_uploader_api_lib/docker-compose.yml @@ -35,6 +35,12 @@ services: extends: file: ../testenv-common/docker-compose.common.yml service: pg-us + healthcheck: + test: ["CMD", "pg_isready", "-d", "us-db-ci_purgeable"] + # test: ["CMD", "pg_isready", "-d", "us-db-ci_purgeable", "&&", "sleep", "5"] + interval: 5s + retries: 10 + start_period: 30s ports: - 51409:5432