deepwiki-open Docker & Self-Hosted Deployment

GitHub

Open Source DeepWiki: AI-Powered Wiki Generator for GitHub/Gitlab/Bitbucket Repositories. Join the discord:

17,446 stars TypeScript TypeScript 1 file ยท ~35,526 tokens #ai#codex#gemini#github#grok-cli#ollama#open-source#openai
RAW Compose
1. Pull Image (DOCKERHUB) docker pull asyncfuncai/deepwiki-open
2. Docker Run (1-Click Launch) docker run -d --name deepwiki-open -p 3000:3000 --restart always asyncfuncai/deepwiki-open:latest
3. Podman Run podman run -d --name deepwiki-open -p 3000:3000 --restart always asyncfuncai/deepwiki-open:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/asyncfuncai/deepwiki-open:latest
5. ORAS Pull (OCI Artifact) oras pull asyncfuncai/deepwiki-open:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
services:
  deepwiki:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "${PORT:-8001}:${PORT:-8001}"  # API port
      - "3000:3000"  # Next.js port
    env_file:
      - .env
    environment:
      - PORT=${PORT:-8001}
      - NODE_ENV=production
      - SERVER_BASE_URL=http://localhost:${PORT:-8001}
      - LOG_LEVEL=${LOG_LEVEL:-INFO}
      - LOG_FILE_PATH=${LOG_FILE_PATH:-api/logs/application.log}
    volumes:
      - ~/.adalflow:/root/.adalflow      # Persist repository and embedding data
      - ./api/logs:/app/api/logs          # Persist log files across container restarts
    # Resource limits for docker-compose up (not Swarm mode)
    mem_limit: 6g
    mem_reservation: 2g
    # Health check configuration
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:${PORT:-8001}/health"]
      interval: 60s
      timeout: 10s
      retries: 3
      start_period: 30s