S-SCOTTEK← HomepageNewsGuidesBuyingTeamForumSupportlog in · sign up
self-hosting 2026-11-27

Self-Host Firecrawl (v2.11.872) — Docker Compose Setup That Actually Scrapes

This companion guide follows the video Self-Host Firecrawl (v2.11.872) — Docker Compose Setup That Actually Scrapes, a 96-second walkthrough uploaded 2026-11-27 that self-hosts Firecrawl v2.11.872 on Ubuntu 24.04 with the official Docker Compose setup, then proves it with a readiness heartbeat plus one real scrape of example.com.

YouTube auto-subtitles failed for this video with a 429 error, so the official video description is used here as the transcript-equivalent source for the video's claims. Video claims stay attributed to the video below, and added research is labeled where it appears. A matching Prag research package for this install exists and its commands agree with the description. I did not re-run these steps while writing this guide, so treat every step below as untested on your machine until you verify it yourself.

What you need

Clone the pinned release

Pin the exact release the video walks through so the Compose contract matches. The video pins v2.11.872, and that tag resolves on the repo. Untested:

The Firecrawl repository carries the v2.11.872 tag. Do not substitute main: floating tags can drift away from the commands below. One added-research note: the video description links the self-hosting docs at a path that now 404s, and the live guide is the self-hosting guide, which itself walks an older pinned tag, so cross-release drift is real and the video's tag is the one to use.

Docs card showing the official self-hosting guide pinning release v2.11.872 with the API on port 3002 and no API key
Docs card showing the official self-hosting guide pinning release v2.11.872 with the API on port 3002 and no API key (Still from the walkthrough video.)

Write the 4-line root .env

Compose needs four values in a root .env, with the password generated randomly so no secret lands in shell history or the video. Untested:

Keep POSTGRES_DB=postgres: the bundled pg_cron configuration targets that database, per the official guide. Never commit this file. The trust boundary from the video stands: the baseline API has no authentication (USE_DB_AUTHENTICATION=false), so do not expose port 3002 beyond a trusted network. Production needs an auth design plus TLS plus durable volumes.

Simulated terminal card writing the 4-line root .env with a random openssl password and confirming the 139-byte file, badged never commit
Simulated terminal card writing the 4-line root .env with a random openssl password and confirming the 139-byte file, badged never commit (Still from the walkthrough video.)

Build, start, and check readiness

Build and start the whole stack in the background, then list services before moving on. Untested:

Every service should read as running before the scrape. One attribution note: the readiness path above is the video's /health/readiness, while a public docs snippet shows a /v0/health/readiness variant, so if the heartbeat 404s, try the docs variant and treat the video's path as superseded.

Prove it with a real scrape

The smoke test is a genuine scrape of example.com asking for markdown, with a 60-second scrape timeout inside a 75-second curl cap. Untested:

Expect success with markdown content and statusCode 200, which proves the full chain of API plus worker plus database plus browser engine is working. No Authorization header is sent, which is exactly the auth-off baseline the video teaches.

Simulated terminal card posting example.com to /v2/scrape and getting success with markdown and statusCode 200, badged auth off
Simulated terminal card posting example.com to /v2/scrape and getting success with markdown and statusCode 200, badged auth off (Still from the walkthrough video.)

Next steps

From a working local scrape, the official guide points at the decisions that turn this evaluation baseline into something you can keep: an authentication design, since one environment variable set to false is not access control, plus TLS termination, persistent volumes and backups for PostgreSQL, Redis, and RabbitMQ, and optional providers for AI-backed features, proxies, or advanced engines. Start from the self-hosting guide and change one decision at a time.

Watch the walkthrough

Watch on YouTube

Webster the press owl — click to chat