DocuStore.io

Configuration

Complete environment variables reference for DocuStore.

DocuStore is configured via environment variables. All settings are defined in services/.env.

LLM Provider

VariableDescriptionDefault
LLM_PROVIDERProvider type: ollama, openai, anthropic, or geminiollama
LLM_MODEL_NAMEModel name (e.g., gemma4:31b, gpt-4o)gemma4:31b
LLM_BASE_URLOllama base URL (ignored for cloud providers)http://localhost:11434
OPENAI_API_KEYOpenAI API key (if using OpenAI)—
ANTHROPIC_API_KEYAnthropic API key (if using Anthropic)—
GOOGLE_API_KEYGemini API key (if using Gemini)—

Embedding

See Embedding Models for choosing a model. Changing the model requires re-embedding documents.

VariableDescriptionDefault
EMBEDDING_MODEL_PROVIDERsentence-transformers (local), openai, gemini, or openroutersentence-transformers
EMBEDDING_MODEL_NAMEText embedding modelibm-granite/granite-embedding-english-r2
EMBEDDING_DIMENSIONSVector dimensions (all models are asked for this)768
EMBEDDING_DEVICELocal models: cpu, cuda, or mpscpu
EMBEDDING_API_KEYAPI models; falls back to OPENAI_API_KEY / GOOGLE_API_KEY—
EMBEDDING_BASE_URLopenai provider only: any OpenAI-compatible endpoint—

Storage

VariableDescriptionDefault
BLOB_BASE_URLBlob storage root: file:// for local, s3:// for S3, az:// for Azure Blob Storage (see Blob Storage)file://<services>/blobs
BLOB_STORAGE_OPTIONSJSON object of fsspec storage options{}

Infrastructure

VariableDescriptionDefault
EVENTSTOREDB_URIEventStoreDB connection stringesdb://localhost:2113?tls=false
MONGO_URIMongoDB connection stringmongodb://localhost:27017/?replicaSet=rs0
MONGO_DBMongoDB database namedocu_store
QDRANT_URLQdrant HTTP URLhttp://localhost:6333
TEMPORAL_ADDRESSTemporal server addresslocalhost:7233
KAFKA_BOOTSTRAP_SERVERSKafka broker addresseslocalhost:19092

The dev compose stack publishes EventStoreDB on host port 2114 and Temporal on 7234, so local .env files use esdb://localhost:2114?tls=false and localhost:7234.

Temporal Workers

VariableDescriptionDefault
TEMPORAL_MAX_CONCURRENT_ACTIVITIESMax parallel activities on the CPU/IO worker10
TEMPORAL_LLM_TASK_QUEUETask queue for the LLM workerllm_processing
TEMPORAL_MAX_CONCURRENT_LLM_ACTIVITIESMax parallel LLM activities (Ollama: 1-2, cloud APIs: 5-10)2

The CPU/IO worker's task queue is fixed at artifact_processing.

Observability

VariableDescriptionDefault
PROMPT_REPOSITORY_TYPEPrompt source: langfuse or yamllangfuse
LANGFUSE_PUBLIC_KEYLangfuse public key for LLM tracing—
LANGFUSE_SECRET_KEYLangfuse secret key—
LANGFUSE_HOSTLangfuse server URL (dev compose: http://localhost:3100)http://localhost:3000

Authentication (Duar)

VariableDescriptionDefault
DUAR_URLDuar authorization service URLhttp://localhost:9003
DUAR_SERVICE_KEYService key for this app in Duar—
DUAR_SERVICE_NAMEService name registered in Duardocu-store
DUAR_IDP_JWKS_URLIdP JWKS URL for verifying login tokenshttps://www.googleapis.com/oauth2/v3/certs
DUAR_IDP_AUDIENCERequired: your OAuth client ID (IdP token aud)—
DUAR_IDP_ISSUERExpected IdP token issuerhttps://accounts.google.com
DUAR_CACHE_TTLSeconds to cache permission checks (0 disables)120

Summarization

VariableDescriptionDefault
ARTIFACT_SUMMARIZATION_BATCH_SIZEPages per summarization batch10

Vector Collections

VariableDescriptionDefault
QDRANT_COLLECTION_NAMEText embeddings collectionpage_embeddings
QDRANT_COMPOUND_COLLECTION_NAMESMILES embeddings collectioncompound_embeddings
QDRANT_SUMMARY_COLLECTION_NAMESummary embeddings collectionsummary_embeddings