Update healthcheck commands in docker-compose.yml

This commit is contained in:
swve 2024-02-20 18:26:57 +01:00
parent 8f202b575e
commit 05c520b740

View file

@ -24,7 +24,7 @@ services:
- POSTGRES_PASSWORD=learnhouse
- POSTGRES_DB=learnhouse
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: ["CMD-SHELL", "pg_isready -U learnhouse"]
interval: 5s
timeout: 4s
retries: 5