Skip to content

Commit

Permalink
db liveness probe fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schmittner <[email protected]>
  • Loading branch information
Echsecutor committed Apr 24, 2024
1 parent 616b2f0 commit 5e295f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
restart: unless-stopped
image: 'postgres:14.4'
healthcheck:
test: ['CMD', 'pg_isready', '-q', '-d', 'postgres', '-U', 'root']
test: ['CMD', 'pg_isready', '-q', '-d', 'postgres', '-U', '$KC_POSTGRES_USER']
timeout: 45s
interval: 10s
retries: 10
Expand Down Expand Up @@ -55,7 +55,7 @@ services:
image: 'postgres:14.4'
restart: unless-stopped
healthcheck:
test: ['CMD', 'pg_isready', '-q', '-d', 'postgres', '-U', 'root']
test: ['CMD', 'pg_isready', '-q', '-d', 'postgres', '-U', '$DB_USERNAME']
timeout: 45s
interval: 10s
retries: 10
Expand Down

0 comments on commit 5e295f9

Please sign in to comment.