Skip to content

Official Crawl4AI Cloud: a hosted web scraping, extraction, and search API for AI agents. Free API key, 1,000 credits a month, no card. Fully open source: this repo is the Apache-2.0 crawler that powers it, and you can self-host it.

fix(docker): build permanent browser with egress-hardened default config so its pool signature matches

Soham Kukreti7b02a2c0d056
diff --git a/deploy/docker/server.py b/deploy/docker/server.py
index 3636efb9..dd96fd78 100644
--- a/deploy/docker/server.py
+++ b/deploy/docker/server.py
@@ -232,10 +232,7 @@ async def lifespan(_: FastAPI):
monitor_module.monitor_stats.start_persistence_worker()
# Initialize browser pool
- await init_permanent(BrowserConfig(
- extra_args=_browser_extra_args(),
- **config["crawler"]["browser"].get("kwargs", {}),
- ))
+ await init_permanent(get_default_browser_config())
# Start background tasks
app.state.janitor = asyncio.create_task(janitor())