#4750·firecrawl

[Self-Host] rabbitmq healthcheck times out before RabbitMQ boots, api never starts

Author: KassaSanaCreated Sep 24, 2026Updated Sep 24, 2026

Describe the Issue docker compose up from the repo root intermittently fails because the rabbitmq healthcheck gives up before RabbitMQ finishes booting. The api service depends on rabbitmq: service_healthy, so it is left in Created and never starts; nothing listens on port 3002.

The healthcheck allows ~20s (start_period: 5s + retries: 3 × interval: 5s), while RabbitMQ logs Server startup complete roughly 19–21s after the container starts on my machine.

To Reproduce

  1. Check out main (fd9c74cc0) with no .env overrides.
  2. docker compose down && docker compose up -d
  3. Repeat a few times.

2 of 3 cold starts failed for me:

✘ Container firecrawl-rabbitmq-1  Error
dependency failed to start: container firecrawl-rabbitmq-1 is unhealthy

docker inspect firecrawl-rabbitmq-1 shows the health log as 69 69 69 (exit 69 = not running yet) on failing runs, and RabbitMQ becoming ready right after the third failed check.

Expected Behavior docker compose up waits for RabbitMQ to finish booting and then starts the API.

Environment

  • OS: Windows 11 (Docker Desktop, WSL2 backend), 16 CPUs / 8 GB allotted to Docker
  • Firecrawl Version: main @ fd9c74cc0
  • Docker Version: 29.6.2, Compose v5.3.1
  • Image: rabbitmq:3-management

Additional Context Same class of startup race as #4595 / #4643 (NuQ PostgreSQL readiness). Happy to open a PR raising start_period.