#0000 - Fix syntax error in PostgreSQL healthcheck command
The incorrect double dollar sign syntax in the healthcheck command has been corrected. This ensures that the environment variable POSTGRES_USERNAME is properly interpolated.
This commit is contained in:
parent
6bac073d56
commit
f526692e59
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ services:
|
||||||
condition: any
|
condition: any
|
||||||
delay: 5s
|
delay: 5s
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD-SHELL", "pg_isready", "-U", "$${POSTGRES_USERNAME}", "-d", "sonar" ]
|
test: [ "CMD-SHELL", "pg_isready", "-U", "${POSTGRES_USERNAME}", "-d", "sonar" ]
|
||||||
interval: 1s
|
interval: 1s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
|
|
Loading…
Reference in a new issue