1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"repo": "boetie78/crawl4ai", "files": {"docker-compose.yml": {"02f3127deda707b948e1970699fceae214677b86": {"t": 1785746978.5213158, "n": 1357, "h": "6739df5a46382d8b", "c": "version: '3.8'\n\n# Shared configuration for all environments\nx-base-config: &base-config\n ports:\n - \"11235:11235\" # Gunicorn port\n env_file:\n - .llm.env # API keys (create from .llm.env.example)\n environment:\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:-}\n - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}\n - GROQ_API_KEY=${GROQ_API_KEY:-}\n - TOGETHER_API_KEY=${TOGETHER_API_KEY:-}\n - MISTRAL_API_KEY=${MISTRAL_API_KEY:-}\n - GEMINI_API_TOKEN=${GEMINI_API_TOKEN:-}\n volumes:\n - /dev/shm:/dev/shm # Chromium performance\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n user: \"appuser\"\n\nservices:\n crawl4ai:\n # 1. Default: Pull multi-platform test image from Docker Hub\n # 2. Override with local image via: IMAGE=local-test docker compose up\n image: ${IMAGE:-unclecode/crawl4ai:${TAG:-latest}}\n \n # Local build config (used with --build)\n build:\n context: .\n dockerfile: Dockerfile\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n \n # Inherit shared config\n <<: *base-config"}, "4812f08a73f419de343bd93c8a48809bb305618c": {"t": 1785769485.5150492, "n": 1357, "h": "6739df5a46382d8b", "c": "version: '3.8'\n\n# Shared configuration for all environments\nx-base-config: &base-config\n ports:\n - \"11235:11235\" # Gunicorn port\n env_file:\n - .llm.env # API keys (create from .llm.env.example)\n environment:\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:-}\n - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}\n - GROQ_API_KEY=${GROQ_API_KEY:-}\n - TOGETHER_API_KEY=${TOGETHER_API_KEY:-}\n - MISTRAL_API_KEY=${MISTRAL_API_KEY:-}\n - GEMINI_API_TOKEN=${GEMINI_API_TOKEN:-}\n volumes:\n - /dev/shm:/dev/shm # Chromium performance\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n user: \"appuser\"\n\nservices:\n crawl4ai:\n # 1. Default: Pull multi-platform test image from Docker Hub\n # 2. Override with local image via: IMAGE=local-test docker compose up\n image: ${IMAGE:-unclecode/crawl4ai:${TAG:-latest}}\n \n # Local build config (used with --build)\n build:\n context: .\n dockerfile: Dockerfile\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n \n # Inherit shared config\n <<: *base-config"}, "ecec53a8c1560b082bfe8f9cb1f5223a83f5e2f7": {"t": 1785769486.8726945, "n": 2542, "h": "a6314e3f5c859d75", "c": "# docker-compose.yml\n\n# Base configuration anchor for reusability\nx-base-config: &base-config\n ports:\n # Map host port 11235 to container port 11235 (where Gunicorn will listen)\n - \"11235:11235\"\n # - \"8080:8080\" # Uncomment if needed\n\n # Load API keys primarily from .llm.env file\n # Create .llm.env in the root directory .llm.env.example\n env_file:\n - .llm.env\n\n # Define environment variables, allowing overrides from host environment\n # Syntax ${VAR:-} uses host env var 'VAR' if set, otherwise uses value from .llm.env\n environment:\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:-}\n - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}\n - GROQ_API_KEY=${GROQ_API_KEY:-}\n - TOGETHER_API_KEY=${TOGETHER_API_KEY:-}\n - MISTRAL_API_KEY=${MISTRAL_API_KEY:-}\n - GEMINI_API_TOKEN=${GEMINI_API_TOKEN:-}\n\n volumes:\n # Mount /dev/shm for Chromium/Playwright performance\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n # IMPORTANT: Ensure Gunicorn binds to 11235 in supervisord.conf\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s # Give the server time to start\n # Run the container as the non-root user defined in the Dockerfile\n user: \"appuser\"\n\nservices:\n # --- Local Build Services ---\n crawl4ai-local-amd64:\n build:\n context: . # Build context is the root directory\n dockerfile: Dockerfile # Dockerfile is in the root directory\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n # PYTHON_VERSION arg is omitted as it's fixed by 'FROM python:3.10-slim' in Dockerfile\n platform: linux/amd64\n profiles: [\"local-amd64\"]\n <<: *base-config # Inherit base configuration\n\n crawl4ai-local-arm64:\n build:\n context: . # Build context is the root directory\n dockerfile: Dockerfile # Dockerfile is in the root directory\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n platform: linux/arm64\n profiles: [\"local-arm64\"]\n <<: *base-config\n\n # --- Docker Hub Image Services ---\n crawl4ai-hub-amd64:\n image: unclecode/crawl4ai:${VERSION:-latest}-amd64\n profiles: [\"hub-amd64\"]\n <<: *base-config\n\n crawl4ai-hub-arm64:\n image: unclecode/crawl4ai:${VERSION:-latest}-arm64\n profiles: [\"hub-arm64\"]\n <<: *base-config"}, "108b2a8bfbfdca6b928603596002a91b608af860": {"t": 1785769488.2730725, "n": 2619, "h": "94cea4273ad0c30d", "c": "# docker-compose.yml\n# This file is in the root directory alongside Dockerfile\n\n# Base configuration anchor for reusability\nx-base-config: &base-config\n ports:\n # Map host port 11235 to container port 11235 (where Gunicorn will listen)\n - \"11235:11235\"\n # - \"8080:8080\" # Uncomment if needed\n\n # Load API keys primarily from .llm.env file\n # Create .llm.env in the root directory from deploy/docker/.llm.env.example\n env_file:\n - .llm.env\n\n # Define environment variables, allowing overrides from host environment\n # Syntax ${VAR:-} uses host env var 'VAR' if set, otherwise uses value from .llm.env\n environment:\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY:-}\n - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}\n - GROQ_API_KEY=${GROQ_API_KEY:-}\n - TOGETHER_API_KEY=${TOGETHER_API_KEY:-}\n - MISTRAL_API_KEY=${MISTRAL_API_KEY:-}\n - GEMINI_API_TOKEN=${GEMINI_API_TOKEN:-}\n\n volumes:\n # Mount /dev/shm for Chromium/Playwright performance\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n # IMPORTANT: Ensure Gunicorn binds to 11235 in supervisord.conf\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s # Give the server time to start\n # Run the container as the non-root user defined in the Dockerfile\n user: \"appuser\"\n\nservices:\n # --- Local Build Services ---\n crawl4ai-local-amd64:\n build:\n context: . # Build context is the root directory\n dockerfile: Dockerfile # Dockerfile is in the root directory\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n # PYTHON_VERSION arg is omitted as it's fixed by 'FROM python:3.10-slim' in Dockerfile\n platform: linux/amd64\n profiles: [\"local-amd64\"]\n <<: *base-config # Inherit base configuration\n\n crawl4ai-local-arm64:\n build:\n context: . # Build context is the root directory\n dockerfile: Dockerfile # Dockerfile is in the root directory\n args:\n INSTALL_TYPE: ${INSTALL_TYPE:-default}\n ENABLE_GPU: ${ENABLE_GPU:-false}\n platform: linux/arm64\n profiles: [\"local-arm64\"]\n <<: *base-config\n\n # --- Docker Hub Image Services ---\n crawl4ai-hub-amd64:\n image: unclecode/crawl4ai:${VERSION:-latest}-amd64\n profiles: [\"hub-amd64\"]\n <<: *base-config\n\n crawl4ai-hub-arm64:\n image: unclecode/crawl4ai:${VERSION:-latest}-arm64\n profiles: [\"hub-arm64\"]\n <<: *base-config"}, "926beee83277116dea34914abb99f566577172b3": {"t": 1785769489.4277155, "n": 1612, "h": "941a29c3157694bd", "c": "# Base configuration (not a service, just a reusable config block)\nx-base-config: &base-config\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n\nservices:\n # Local build services for different platforms\n crawl4ai-amd64:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: \"3.10\"\n INSTALL_TYPE: ${INSTALL_TYPE:-basic}\n ENABLE_GPU: false\n platforms:\n - linux/amd64\n profiles: [\"local-amd64\"]\n <<: *base-config # extends yerine doğrudan yapılandırmayı dahil ettik\n\n crawl4ai-arm64:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: \"3.10\"\n INSTALL_TYPE: ${INSTALL_TYPE:-basic}\n ENABLE_GPU: false\n platforms:\n - linux/arm64\n profiles: [\"local-arm64\"]\n <<: *base-config\n\n # Hub services for different platforms and versions\n crawl4ai-hub-amd64:\n image: unclecode/crawl4ai:${VERSION:-basic}-amd64\n profiles: [\"hub-amd64\"]\n <<: *base-config\n\n crawl4ai-hub-arm64:\n image: unclecode/crawl4ai:${VERSION:-basic}-arm64\n profiles: [\"hub-arm64\"]\n <<: *base-config"}, "f9c98a377dd1dda28f88cd5ab4e801535a88abcc": {"t": 1785769490.639126, "n": 1642, "h": "864d1697e9536e65", "c": "services:\n # Local build services for different platforms\n crawl4ai-amd64:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: \"3.10\"\n INSTALL_TYPE: ${INSTALL_TYPE:-basic}\n ENABLE_GPU: false\n platforms:\n - linux/amd64\n profiles: [\"local-amd64\"]\n extends: &base-config\n file: docker-compose.yml\n service: base-config\n\n crawl4ai-arm64:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: \"3.10\"\n INSTALL_TYPE: ${INSTALL_TYPE:-basic}\n ENABLE_GPU: false\n platforms:\n - linux/arm64\n profiles: [\"local-arm64\"]\n extends: *base-config\n\n # Hub services for different platforms and versions\n crawl4ai-hub-amd64:\n image: unclecode/crawl4ai:${VERSION:-basic}-amd64\n profiles: [\"hub-amd64\"]\n extends: *base-config\n\n crawl4ai-hub-arm64:\n image: unclecode/crawl4ai:${VERSION:-basic}-arm64\n profiles: [\"hub-arm64\"]\n extends: *base-config\n\n # Base configuration to be extended\n base-config:\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s"}, "d7c5b900b8d5d965d56417ac94681e7a11bbb1ee": {"t": 1785769492.0795937, "n": 1466, "h": "5f8689122a0d52c0", "c": "services:\n crawl4ai:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: \"3.10\"\n INSTALL_TYPE: ${INSTALL_TYPE:-basic}\n ENABLE_GPU: false\n profiles: [\"local\"]\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n\n crawl4ai-hub:\n image: unclecode/crawl4ai:basic\n profiles: [\"hub\"]\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n"}, "852729ff380f0568d6874bc960606ba3cce0e935": {"t": 1785769513.1349936, "n": 1445, "h": "5bc9f5ac2ac78f89", "c": "services:\n crawl4ai:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: 3.10\n INSTALL_TYPE: all\n ENABLE_GPU: false\n profiles: [\"local\"]\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n\n crawl4ai-hub:\n image: unclecode/crawl4ai:basic\n profiles: [\"hub\"]\n ports:\n - \"11235:11235\"\n - \"8000:8000\"\n - \"9222:9222\"\n - \"8080:8080\"\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-}\n - OPENAI_API_KEY=${OPENAI_API_KEY:-}\n - CLAUDE_API_KEY=${CLAUDE_API_KEY:-}\n volumes:\n - /dev/shm:/dev/shm\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s\n"}, "6360d0545ac2812687a1a9a31de95fa64f600ed4": {"t": 1785769514.5394266, "n": 834, "h": "a097db3b18b49f31", "c": "version: '3.8'\n\nservices:\n crawl4ai:\n build:\n context: .\n dockerfile: Dockerfile\n args:\n PYTHON_VERSION: 3.10\n INSTALL_TYPE: all\n ENABLE_GPU: false\n ports:\n - \"11235:11235\" # FastAPI server\n - \"8000:8000\" # Alternative port\n - \"9222:9222\" # Browser debugging\n - \"8080:8080\" # Additional port\n environment:\n - CRAWL4AI_API_TOKEN=${CRAWL4AI_API_TOKEN:-} # Optional API token\n volumes:\n - /dev/shm:/dev/shm # Shared memory for browser operations\n deploy:\n resources:\n limits:\n memory: 4G\n reservations:\n memory: 1G\n restart: unless-stopped\n healthcheck:\n test: [\"CMD\", \"curl\", \"-f\", \"http://localhost:11235/health\"]\n interval: 30s\n timeout: 10s\n retries: 3\n start_period: 40s"}, "b8e743cd8dd9653870e297652d638fa0e5dce3e7": {"t": 1785769517.1853395, "n": 190, "h": "237a575628b6a54a", "c": "version: '3.8'\n\nservices:\n web:\n build: .\n command: uvicorn main:app --host 0.0.0.0 --port 80 --workers $(nproc)\n ports:\n - \"80:80\"\n environment:\n - PYTHONUNBUFFERED=1"}}}} |