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" - "5432:5432"
environment: environment:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
healthcheck: healthcheck:
test: ["CMD-SHELL", "pg_isready"] test: ["CMD-SHELL", "pg_isready", "-U", "postgres"]
interval: 30s interval: 30s
timeout: 60s timeout: 60s
retries: 5 retries: 5