Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Commit 18ada57

Browse files
committed
fix(Docker): Simplify healthcheck command in compose files
1 parent 30652da commit 18ada57

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ services:
5454
networks:
5555
- cz-db-dev # Utiliser le réseau de la base de données pour la communication
5656
healthcheck:
57-
test: ["CMD-SHELL", "pg_isready -d $POSTGRES_DB"]
57+
test: ["CMD-SHELL", "pg_isready"]
5858
interval: 10s
5959
timeout: 5s
6060
retries: 5

docker-compose.prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ services:
5454
networks:
5555
- cz-db-prod # Utiliser le réseau de la base de données pour la communication
5656
healthcheck:
57-
test: ["CMD-SHELL", "pg_isready -d $POSTGRES_DB"]
57+
test: ["CMD-SHELL", "pg_isready"]
5858
interval: 10s
5959
timeout: 5s
6060
retries: 5

0 commit comments

Comments
 (0)