docker-compose.yml: pass user and database name when calling pg_isready (#46)

This commit is contained in:
Ivan FB 2024-02-15 16:26:20 +01:00 committed by GitHub
parent 3035e5982d
commit 86e54339de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ services:
ports: []
# - 127.0.0.1:5432:5432
healthcheck:
test: ["CMD-SHELL", "pg_isready -d db_prod"]
test: ["CMD-SHELL", "pg_isready -U postgres -d postgres"]
interval: 30s
timeout: 60s
retries: 5