Prerequisites
Before you begin, make sure you have Docker installed:- Docker (installation instructions)
If you encounter an error during setup, make sure you’re using
docker compose (with a space) and not the legacy docker-compose command.Quick Start with Docker Compose
The easiest way to run Firecrawl is using Docker Compose, which automatically sets up all required services.1
Clone the repository
2
Create environment file
Create a
.env file in the root directory with the following configuration:3
Build and start the services
- Redis: Job queue and rate limiting
- RabbitMQ: Message broker for job coordination
- PostgreSQL: Database for queuing and job management
- Playwright service: JavaScript rendering and browser automation
- API server: Main API endpoint and workers
4
Verify the installation
Once all services are running, Firecrawl should be accessible at:
- API:
http://localhost:3002 - Queue Manager UI:
http://localhost:3002/admin/CHANGEME/queues
Replace
CHANGEME in the Queue Manager URL with the value you set for BULL_AUTH_KEY in your .env file.5
Test the API
Test the crawl endpoint with a simple curl request:You should receive a JSON response with a job ID that you can use to check the crawl status.
Local Development Setup
If you want to contribute to Firecrawl or run it without Docker, follow these steps:Prerequisites
- Node.js (installation instructions)
- Rust (installation instructions)
- pnpm (installation instructions)
- Redis (installation instructions)
- PostgreSQL
- Docker (optional, for running PostgreSQL)
Database Setup
You need to set up the PostgreSQL database by running the SQL file atapps/nuq-postgres/nuq.sql. The easiest way is to use the Docker image:
Environment Configuration
Create a.env file in the /apps/api/ directory:
Installing Dependencies
Running the Services
You’ll need to open 3 terminals: Terminal 1 - Redis:Kubernetes Deployment
For production deployments, you can use Kubernetes:- Simple cluster install: See examples/kubernetes/cluster-install/README.md
- Helm chart: See examples/kubernetes/firecrawl-helm/README.md