fix: Fix the DB healthcheck to use custom user.

This commit is contained in:
Laur Ivan 2023-04-28 18:37:47 +02:00
parent 43c3d4dbc3
commit d509b4e788

View File

@ -29,7 +29,7 @@ services:
image: "{{ sonarqube_db_image }}"
restart: always
healthcheck:
test: /usr/bin/pg_isready
test: /usr/bin/pg_isready -U "{{ sonarqube_db_user }}""
interval: 5s
timeout: 10s
retries: 120