docker run -p 8080:8080 \
-e OPENAI_API_KEY=sk-... \
ghcr.io/siddhant-k-code/distill:latest \
api --memory --sessionWith a persistent volume for memory:
docker run -p 8080:8080 \
-v distill-data:/data \
-e OPENAI_API_KEY=sk-... \
ghcr.io/siddhant-k-code/distill:latest \
api --memory --memory-db /data/memory.db --session --session-db /data/sessions.dbversion: "3.8"
services:
distill:
image: ghcr.io/siddhant-k-code/distill:latest
ports:
- "8080:8080"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
command: api --memory --session
volumes:
- distill-data:/data
volumes:
distill-data:Download from GitHub Releases and run directly:
distill api --memory --sessionA fly.toml is included in the repository:
fly launch
fly secrets set OPENAI_API_KEY=sk-...
fly deployA render.yaml is included for one-click deployment to Render.
| Variable | Description |
|---|---|
OPENAI_API_KEY |
OpenAI API key for embeddings |
COHERE_API_KEY |
Cohere API key (when using --embedding-provider cohere) |
DISTILL_API_KEYS |
Comma-separated API keys for authentication |
Available at /metrics:
curl localhost:8080/metricsdistill api --otel-endpoint localhost:4317
# or
distill api --otel-stdout # print traces to stdoutImport the dashboard template from grafana/dashboard.json.