specify user for postgres healthcheck

This commit is contained in:
2025-09-01 20:32:09 +02:00
parent c81a3633de
commit e31ecbd66b

View File

@@ -39,8 +39,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