Docker Deployment
Pre-built Docker images are available on Alibaba Cloud Container Registry for quick containerized deployment.
Available Images
| Region | Image |
|---|---|
| US West | modelscope-registry.us-west-1.cr.aliyuncs.com/modelscope-repo/sirchmunk:ubuntu22.04-py312-0.0.7 |
| China Beijing | modelscope-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
| Mount | Purpose |
|---|---|
-v /path/to/your_work_path:/data/sirchmunk | Persistent storage for knowledge clusters and chat history |
-v /path/to/your/docs:/mnt/docs:ro | Mount your document directory (read-only) |
Environment Variables
| Variable | Description | Default |
|---|---|---|
LLM_API_KEY | Your LLM API key | required |
LLM_BASE_URL | OpenAI-compatible API base URL | https://api.openai.com/v1 |
LLM_MODEL_NAME | Model name | gpt-5.2 |
LLM_TIMEOUT | LLM request timeout (seconds) | 60.0 |
UI_THEME | Web UI theme (light or dark) | light |
UI_LANGUAGE | UI language (en or zh) | en |
SIRCHMUNK_VERBOSE | Enable verbose logging | false |
SIRCHMUNK_ENABLE_CLUSTER_REUSE | Enable knowledge cluster reuse | false |
SIRCHMUNK_SEARCH_PATHS | Default search paths (comma-separated) | — |
SIRCHMUNK_MAX_CONCURRENT_SEARCHES | Max concurrent search tasks | 3 |
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.