Skip to content

Commit

Permalink
Fix. Healthcheck params for OpenELIS and Odoo DB containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-13 committed Sep 17, 2024
1 parent 809f9e7 commit 67b681f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bahmni-standard/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:?}
Expand Down

0 comments on commit 67b681f

Please sign in to comment.