Skip to content

Commit

Permalink
[AC-64] Fix error in database healthcheck v2
Browse files Browse the repository at this point in the history
  • Loading branch information
macslowiak committed Jan 20, 2024
1 parent d38bb6f commit dd1c937
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/prd/prd-run-database-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
POSTGRES_PASSWORD: ${PRD_KEYCLOAK_POSTGRES_PASSWORD}
POSTGRES_DB: keycloak-db
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $$PRD_KEYCLOAK_POSTGRES_USER keycloak-db" ]
test: [ "CMD-SHELL", "pg_isready -U $$PRD_KEYCLOAK_POSTGRES_USER -d keycloak-db" ]
interval: 5s
timeout: 5s
retries: 5
Expand Down
2 changes: 1 addition & 1 deletion docker/stg/stg-run-database-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
POSTGRES_PASSWORD: ${STG_KEYCLOAK_POSTGRES_PASSWORD}
POSTGRES_DB: keycloak-db
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U $$STG_KEYCLOAK_POSTGRES_USER keycloak-db" ]
test: [ "CMD-SHELL", "pg_isready -U $$STG_KEYCLOAK_POSTGRES_USER -d keycloak-db" ]
interval: 5s
timeout: 5s
retries: 5
Expand Down

0 comments on commit dd1c937

Please sign in to comment.