@@ -64,16 +64,25 @@ code, etc.).
6464# # Running
6565
6666` ` ` bash
67+ # Jina embeddings (default — local TEI container)
68+ docker-compose --profile jina up
69+ # or: make docker-up-jina
70+
71+ # Hosted provider (Voyage / OpenAI) or local Ollama — no TEI container
6772docker-compose up
73+ # or: make docker-up
6874` ` `
6975
70- This starts three services with health checks and persistent volumes :
76+ ` jina-embeddings` only starts when the `jina` profile is active. For any other provider, omit
77+ ` --profile jina` and set `EMBEDDINGS_PROVIDER` plus the relevant API key in `.env`.
78+
79+ Services started with health checks and persistent volumes :
7180
72- | Service | Port | Volume | Purpose |
73- |---------------------------|------------------------------|----------------------------------|------------------------|
74- | **Qdrant** | `6333` (HTTP), `6334` (gRPC) | `qdrant_data` | Vector DB |
75- | **Jina Embeddings** (TEI) | `8087` | `embeddings_cache` | Embedding model server |
76- | **semcode MCP** | `8090` | mounts `./config.yaml` read-only | MCP + HTTP server |
81+ | Service | Profile | Port | Volume | Purpose |
82+ |----------------------------|--------- |------------------------------|----------------------------------|------------------------|
83+ | **Qdrant** | always | `6333` (HTTP), `6334` (gRPC) | `qdrant_data` | Vector DB |
84+ | **Jina Embeddings** (TEI) | `jina` | `8087` | `embeddings_cache` | Embedding model server |
85+ | **semcode MCP** | always | `8090` | mounts `./config.yaml` read-only | MCP + HTTP server |
7786
7887The MCP server starts with empty collections — trigger an initial index by calling the `reindex` MCP tool
7988or `POST /reindex` (see below).
@@ -200,10 +209,9 @@ the existing Qdrant collection, the server fails fast at startup with a clear er
200209offending collection. To switch, drop both collections (`code_symbols` and `git_commits`) via the
201210Qdrant UI or API, then reindex. There is no automatic migration.
202211
203- **Hosted-only setup (no local TEI container):** in `docker-compose.yaml`, comment out the entire
204- ` jina-embeddings` service block, the `jina-embeddings` entry under `semcode.depends_on`, and the
205- ` JINA_URL` line under `semcode.environment`. Then set `EMBEDDINGS_PROVIDER` and the relevant API
206- key in `.env`.
212+ **Hosted-only setup (no local TEI container):** set `EMBEDDINGS_PROVIDER` and the relevant API key
213+ in `.env`, then start without the `jina` profile (`docker-compose up` / `make docker-up`). The
214+ ` jina-embeddings` container will not start.
207215
208216# # Qdrant collections
209217
0 commit comments