Fix wrong psql healthcheck user

pull/1/head
palid 2023-11-06 20:50:00 +01:00
parent d71885d264
commit 2892923389
Signed by: palid
SSH Key Fingerprint: SHA256:Mus3wCd2x6nxtARI0DpWGT7lIWbNy3R90BVDg0j35PI
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ services:
- POSTGRES_DB=postgres
healthcheck:
#CHANGE 1: this command checks if the database is ready, right on the source db server
test: [ "CMD-SHELL", "pg_isready" ]
test: ["CMD-SHELL", "pg_isready -d postgres -U postgres"]
interval: 1s
timeout: 1s
retries: 5