forked from Hithomelabs/ci-runner-test
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: firecrawl
|
|
|
|
# Firecrawl MCP Server - Self-hosted web scraping for LLM applications
|
|
# https://docs.firecrawl.dev/mcp
|
|
#
|
|
# This provides an MCP server for web scraping that can be used with:
|
|
# - Claude Desktop
|
|
# - Cursor
|
|
# - Windsurf
|
|
# - Other MCP-compatible clients
|
|
#
|
|
# To expose behind a reverse proxy (Cloudflare Tunnel), configure:
|
|
# - The service listens on port 3002
|
|
# - HTTP endpoints enabled for remote MCP access
|
|
#
|
|
services:
|
|
firecrawl:
|
|
image: ghcr.io/firecrawl/firecrawl-mcp:latest
|
|
container_name: firecrawl_${ENV}
|
|
restart: always
|
|
environment:
|
|
- ENV=${ENV}
|
|
- FIRECRAWL_API_KEY=${FIRECRAWL_API_KEY}
|
|
# Enable HTTP endpoint for remote MCP access
|
|
- ENABLE_HTTP_STREAMABLE_ENDPOINT=true
|
|
- ENABLE_SSE_ENDPOINT=true
|
|
- PORT=3002
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://localhost:3002/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 30s
|
|
ports:
|
|
- "3002:3002"
|
|
volumes:
|
|
- ${FIRECRAWL_DATA_DIR}:/data
|
|
- /etc/localtime:/etc/localtime:ro |