fix healthcheck for local testing

This commit is contained in:
2025-09-04 18:00:25 +02:00
parent c23d29436f
commit 2cb898d8eb

View File

@@ -28,8 +28,9 @@ services:
- "5432:5432"
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
interval: 30s
timeout: 60s
retries: 5