Skip to content

docs(docker): explain .env vs environment/env_file, UTEKE_AUTH_TOKEN and the external-embedder setup (#1413) - #1420

Merged
ajianaz merged 2 commits into
developfrom
docs/docker-env-embedding-compose
Oct 9, 2026
Merged

ajianaz merged 2 commits into
developfrom
docs/docker-env-embedding-compose

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

  • docs/docker.md: new subsections "Passing variables with Docker Compose" (a .env file only fills ${VAR} references; use env_file: or list variables under environment:; the server reads UTEKE_AUTH_TOKEN and starts unauthenticated when the token does not arrive) and "Using an external embedder (OpenAI-compatible or Ollama)" (variables, what the log should say, dims, reachability, one-write check, the data dir must stay writable by uid 1000). The environment variable table gains UTEKE_READ_ONLY_TOKEN and the UTEKE_EMBEDDING_* variables; the volume contents list notes that the ONNX model exists only with the onnx backend.
  • docker-compose.yml: commented env_file hint, the token-mapping example and the external-embedder variables.

Why

Closes #1413. Both traps were hit on a real labs instance running v0.20.1: the embedding settings in .env never reached the container, and after editing the compose file the server started with Authentication: disabled (only a WARN line says so).

Testing

  • Docs and comments only; docker compose -f docker-compose.yml config still parses and the file is valid YAML
  • The two failure modes were reproduced locally with the real image (a compose file mapping only UTEKE_AUTH_TOKEN and a .env with UTEKE_EMBEDDING_* gave "Model not found, downloading" and 0 embedding variables in the container; the same file with env_file: .env gave the openai backend and no download). The log lines quoted in the docs are the real ones
  • Not tested: every documented combination on a Linux host; Ollama

🤖 Generated with Claude Code

ajianaz and others added 2 commits October 9, 2026 16:06
…and the external-embedder setup (#1413)

Parked locally by owner request (lowest priority); not pushed.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit a95eb28 into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the docs/docker-env-embedding-compose branch October 9, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(docker): explain .env vs environment/env_file, UTEKE_AUTH_TOKEN, and the external-embedder setup

1 participant