From 75771be95c994090ba45ee4cd332557455d22a3e Mon Sep 17 00:00:00 2001 From: Takaaki Abe Date: Tue, 6 Oct 2026 19:07:56 +0900 Subject: [PATCH] fix(compose): drop amd64 pin on tinybird-local and probe the backend (#2843) * fix(compose): drop amd64 pin on tinybird-local and probe the backend The image ships an arm64 variant, so forcing amd64 runs Tinybird under emulation on Apple Silicon, where its processes segfault in a loop. The old probe only reached nginx and reported that state as healthy; /tokens is what the tb CLI itself uses to tell the backend is up. * fix(coolify): probe the tinybird backend, not nginx * fix(compose): keep the /tokens response out of the healthcheck log * Update docker-compose.yaml Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --------- Co-authored-by: Thibault Le Ouay Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> --- coolify-deployment.yaml | 2 +- docker-compose.github-packages.yaml | 3 +-- docker-compose.yaml | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/coolify-deployment.yaml b/coolify-deployment.yaml index a59c8ff03..043dd74eb 100644 --- a/coolify-deployment.yaml +++ b/coolify-deployment.yaml @@ -169,7 +169,7 @@ services: environment: - COMPATIBILITY_MODE=1 healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7181/"] + test: ["CMD", "curl", "-f", "-o", "/dev/null", "http://localhost:7181/tokens"] interval: 15s timeout: 5s retries: 5 diff --git a/docker-compose.github-packages.yaml b/docker-compose.github-packages.yaml index 334361fb2..5f9b64193 100644 --- a/docker-compose.github-packages.yaml +++ b/docker-compose.github-packages.yaml @@ -52,7 +52,6 @@ services: tinybird-local: container_name: openstatus-tinybird image: tinybirdco/tinybird-local:latest - platform: linux/amd64 networks: - openstatus ports: @@ -63,7 +62,7 @@ services: - tinybird-clickhouse-data:/var/lib/clickhouse - tinybird-redis-data:/redis-data healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7181/"] + test: ["CMD", "curl", "-f", "-o", "/dev/null", "http://localhost:7181/tokens"] interval: 15s timeout: 5s retries: 5 diff --git a/docker-compose.yaml b/docker-compose.yaml index 5f5f652fd..b7bdf64fe 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -52,7 +52,6 @@ services: tinybird-local: container_name: openstatus-tinybird image: tinybirdco/tinybird-local:latest - platform: linux/amd64 networks: - openstatus ports: @@ -63,7 +62,7 @@ services: - tinybird-clickhouse-data:/var/lib/clickhouse - tinybird-redis-data:/redis-data healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:7181/"] + test: ["CMD", "curl", "-f", "-sS", "-o", "/dev/null", "http://localhost:7181/tokens"] interval: 15s timeout: 5s retries: 5 -- 2.51.2