Corrigir healthcheck do PostgreSQL - especificar database

This commit is contained in:
Erik
2025-11-26 15:17:27 -03:00
parent 687809e5a2
commit 976d322cad

View File

@@ -11,7 +11,7 @@ services:
networks:
- occto_network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U admin"]
test: ["CMD-SHELL", "pg_isready -U admin -d occto_db"]
interval: 10s
timeout: 5s
retries: 5