fix: Fix the DB healthcheck to use custom user.
This commit is contained in:
parent
43c3d4dbc3
commit
d509b4e788
@ -29,7 +29,7 @@ services:
|
|||||||
image: "{{ sonarqube_db_image }}"
|
image: "{{ sonarqube_db_image }}"
|
||||||
restart: always
|
restart: always
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: /usr/bin/pg_isready
|
test: /usr/bin/pg_isready -U "{{ sonarqube_db_user }}""
|
||||||
interval: 5s
|
interval: 5s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 120
|
retries: 120
|
||||||
|
Loading…
Reference in New Issue
Block a user