Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: change realtime healthcheck to cmdshell for podman compat (#41159)

Andrey A.43f40168c261
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 8359a7a15a7..b23ac13078d 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -208,15 +208,8 @@ services:
healthcheck:
test:
[
- "CMD",
- "curl",
- "-sSfL",
- "--head",
- "-o",
- "/dev/null",
- "-H",
- "Authorization: Bearer ${ANON_KEY}",
- "http://localhost:4000/api/tenants/realtime-dev/health"
+ "CMD-SHELL",
+ "curl -sSfL --head -o /dev/null -H \"Authorization: Bearer ${ANON_KEY}\" http://localhost:4000/api/tenants/realtime-dev/health"
]
timeout: 5s
interval: 5s