From a96e2cce584a69c0bd725264dbd6071f488f395a Mon Sep 17 00:00:00 2001 From: Jennings Zhang Date: Fri, 11 Jul 2025 20:26:38 -0400 Subject: [PATCH] Replace healthcheck CMD with CMD-SHELL --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2078988..a6ef9060 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,7 +51,7 @@ services: aliases: - chrisdev.local # hard-coded in chrisomatic/*.yml healthcheck: - test: [ "CMD", "sh", "-c", "curl -f http://localhost:8000/api/v1/users/ || exit 1" ] + test: [ "CMD-SHELL", "echo curl -f http://localhost:8000/api/v1/users/ || exit 1" ] interval: 10s timeout: 5s retries: 5