Documentation Index
Fetch the complete documentation index at: https://docs.moorcheh.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Starts the Moorcheh API in Docker and wires it to Ollama for embeddings. Data is stored under~/.moorcheh/data.
Unlike API commands, moorcheh up prints human-readable status lines (not JSON). Docker compose logs may appear on stdout/stderr.
Synopsis
Options
| Flag | Default | Description |
|---|---|---|
--server-image | moorcheh/server:latest | Docker image for the API server |
--server-port | 8080 | Host port for http://localhost:<port> |
--ollama-image | ollama/ollama:latest | Image when starting bundled Ollama |
--ollama-port | 11434 | Host port to probe for existing Ollama, or publish bundled Ollama |
--ollama-host | 127.0.0.1 | Host to probe for existing Ollama |
--ollama-model | nomic-embed-text | Embedding model passed to the server |
--bundled-ollama | off | Always start moorcheh-ollama container |
--use-host-ollama | off | Never start moorcheh-ollama; use host Ollama only |
You cannot use
--bundled-ollama and --use-host-ollama together (exit code 1).Default Ollama behavior
If Ollama is already reachable onhttp://127.0.0.1:11434, moorcheh up reuses it and starts only the Moorcheh server container.
If not reachable, it starts both the server and moorcheh-ollama (bundled Ollama).
Examples
Output
Always prints these lines on success:--use-host-ollama):
Container moorcheh-onprem-server Started) may print to stdout/stderr before the lines above.
Exit codes
| Code | Meaning |
|---|---|
0 | Stack started (or already running) |
1 | Conflicting flags, Docker error, or compose failure |
Requirements
- Docker running
- Pull access for
moorcheh/server:latest(andollama/ollama:latestif bundled Ollama starts)