Commit 86816e4
ClaudioDrews
fix: expose EMBEDDING_API_BASE, EMBEDDING_MODEL, EMBEDDING_API_KEY in docker-compose and setup.sh
The worker container could not be configured to use an alternative
embedding backend (Ollama, vLLM, etc.) because docker-compose.yml
did not pass through EMBEDDING_API_BASE, EMBEDDING_MODEL, or
EMBEDDING_API_KEY. The worker code (embedding.py) already reads
these env vars — only the compose file was missing the plumbing.
Changes:
- docker-compose.yml: add 3 env vars to worker.environment with
defaults preserving current OpenRouter/Qwen3 behavior
- setup.sh: add_env for all 3 vars (consistency with EMBEDDING_DIMS)
Closes #291 parent e654b9f commit 86816e4
2 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
331 | 334 | | |
332 | 335 | | |
333 | 336 | | |
| |||
0 commit comments