Docker Deployment

Docker Deployment

Pre-built Docker images are available on Alibaba Cloud Container Registry for quick containerized deployment.

Available Images

RegionImage
US Westmodelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/sirchmunk:ubuntu22.04-py312-0.0.7
China Beijingmodelscope-registry.cn-beijing.cr.aliyuncs.com/modelscope-repo/sirchmunk:ubuntu22.04-py312-0.0.7

Quick Start

# Pull the image
docker pull modelscope-registry.cn-beijing.cr.aliyuncs.com/modelscope-repo/sirchmunk:ubuntu22.04-py312-0.0.7

# Start the service
docker run -d \
  --name sirchmunk \
  --cpus="4" \
  --memory="2g" \
  -p 8584:8584 \
  -e LLM_API_KEY="your-api-key-here" \
  -e LLM_BASE_URL="https://api.openai.com/v1" \
  -e LLM_MODEL_NAME="gpt-5.2" \
  -e LLM_TIMEOUT=60.0 \
  -e UI_THEME=light \
  -e UI_LANGUAGE=en \
  -e SIRCHMUNK_VERBOSE=false \
  -e SIRCHMUNK_ENABLE_CLUSTER_REUSE=false \
  -e SIRCHMUNK_SEARCH_PATHS=/mnt/docs \
  -v /path/to/your_work_path:/data/sirchmunk \
  -v /path/to/your/docs:/mnt/docs:ro \
  modelscope-registry.cn-beijing.cr.aliyuncs.com/modelscope-repo/sirchmunk:ubuntu22.04-py312-0.0.7

Open http://localhost:8584 to access the WebUI, or call the API directly:

import requests

response = requests.post(
    "http://localhost:8584/api/v1/search",
    json={
        "query": "your search question here",
        "paths": ["/mnt/docs"],
    },
)
print(response.json())

Volume Mounts

MountPurpose
-v /path/to/your_work_path:/data/sirchmunkPersistent storage for knowledge clusters and chat history
-v /path/to/your/docs:/mnt/docs:roMount your document directory (read-only)

Environment Variables

VariableDescriptionDefault
LLM_API_KEYYour LLM API keyrequired
LLM_BASE_URLOpenAI-compatible API base URLhttps://api.openai.com/v1
LLM_MODEL_NAMEModel namegpt-5.2
LLM_TIMEOUTLLM request timeout (seconds)60.0
UI_THEMEWeb UI theme (light or dark)light
UI_LANGUAGEUI language (en or zh)en
SIRCHMUNK_VERBOSEEnable verbose loggingfalse
SIRCHMUNK_ENABLE_CLUSTER_REUSEEnable knowledge cluster reusefalse
SIRCHMUNK_SEARCH_PATHSDefault search paths (comma-separated)—
SIRCHMUNK_MAX_CONCURRENT_SEARCHESMax concurrent search tasks3
Tip

The image tag ubuntu22.04-py312-0.0.7 is the latest pre-built image at the time of writing. Check the Alibaba Cloud Container Registry or the Sirchmunk README for the latest available tag.

Tip

For full Docker parameters and advanced usage, see the docker/README.md in the Sirchmunk repository.

docs