22 lines
560 B
YAML
22 lines
560 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
crawl4ai:
|
|
image: unclecode/crawl4ai:basic
|
|
ports:
|
|
- "1235:11235"
|
|
environment:
|
|
- CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-} # Optional API security
|
|
- MAX_CONCURRENT_TASKS=${CRAWL4AI_API_TOKEN:-}
|
|
# LLM Provider Keys
|
|
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
|
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
|
|
volumes:
|
|
- /dev/shm:/dev/shm
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 4G
|
|
reservations:
|
|
memory: 1G |