Overview
Interactive setup for text embeddings and the LLM used by/answer: provider (Ollama, OpenAI, or Cohere), model from a curated list, and API key for cloud providers. Settings are written to ~/.moorcheh/config.json.
moorcheh configure only updates that file. It does not restart a running Docker stack. After you change embedding or LLM settings, stop and start the server so the container picks up new environment variables (see Apply changes).
You can run this before or instead of answering prompts during the first moorcheh up.
Synopsis
Options
What it asks
- Provider —
ollama,openai, orcohere(default in wizard:ollama) - Model — numbered menu per provider (see Embedding providers)
- API key — required for
openaiandcohere(hidden input); not asked forollama - LLM — provider and model for
/answer(defaults to same provider; Ollama LLM default:qwen2.5)
base_url is saved from release defaults (edit config.json to point at a proxy or alternate endpoint).
Apply changes after configure
If Moorcheh is already running and you change embedding or LLM settings (viamoorcheh configure --force or by editing config.json), recreate the stack so the server container receives the new EMBEDDING_* and LLM_* values:
config.json was updated.
Ollama-specific behavior
Configure does not start Docker or the bundled Ollama container. Use
moorcheh up for that.
Examples
Config file example
On Unix,
config.json is created with mode 600. Do not commit this file or share it; it may contain API keys.Non-interactive overrides
You can skip the wizard and set values onmoorcheh up:
--no-configure after config.json exists.