From 67b681fedfdd4195c7b3e8c5d6e834f8b34d5feb Mon Sep 17 00:00:00 2001 From: MOHANKUMAR T Date: Tue, 17 Sep 2024 14:53:29 +0530 Subject: [PATCH] Fix. Healthcheck params for OpenELIS and Odoo DB containers --- bahmni-standard/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bahmni-standard/docker-compose.yml b/bahmni-standard/docker-compose.yml index 892cb75..565af6f 100644 --- a/bahmni-standard/docker-compose.yml +++ b/bahmni-standard/docker-compose.yml @@ -64,7 +64,7 @@ services: - '${OPENELIS_DB_DUMP_PATH}:/resources/db-dump' - 'openelisdbdata:/var/lib/postgresql/data' healthcheck: - test: ['CMD-SHELL', 'pg_isready -h localhost -U postgres'] + test: ['CMD-SHELL', 'pg_isready -h localhost -U clinlims'] interval: 10s timeout: 5s retries: 5 @@ -109,6 +109,7 @@ services: test: ['CMD-SHELL', 'pg_isready -h localhost -U odoo'] interval: 10s timeout: 5s + retries: 10 environment: TZ: ${TZ} POSTGRES_DB: ${ODOO_DB_NAME:?}