Skip to content

Open-source status page, incident response and uptime monitoring

fix(docker): replace CMD-SHELL healthchecks in docker-compose.yaml (#2373)

Krish Vachhani8d494b9b42e2
diff --git a/docker-compose.yaml b/docker-compose.yaml
index d409daae5..97e7b7eb9 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -75,7 +75,7 @@ services:
libsql:
condition: service_healthy
healthcheck:
- test: ["CMD-SHELL", "curl -f http://localhost:3000/ping || exit 1"]
+ test: ["CMD", "curl", "-f", "http://localhost:3000/ping"]
interval: 15s
timeout: 10s
retries: 3
@@ -103,7 +103,7 @@ services:
libsql:
condition: service_healthy
healthcheck:
- test: ["CMD-SHELL", "curl -f http://localhost:3000/ping || exit 1"]
+ test: ["CMD", "curl", "-f", "http://localhost:3000/ping"]
interval: 15s
timeout: 10s
retries: 3