- Notifications
You must be signed in to change notification settings - Fork746
Clean up Docker Compose for UI#5180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
GabrielBianconi commentedDec 13, 2025
/merge-queue |
🚀 Merge queue workflow triggered! View the run:https://github.com/tensorzero/tensorzero/actions/runs/20198084955 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull request overview
This PR cleans up Docker Compose configurations for the TensorZero UI by removing deprecated volume mounts and unused provider credentials. The changes align with the UI's new architecture where configuration is read from the gateway rather than mounted directly.
Key changes:
- Removed
./config:/app/config:rovolume mounts from UI services (config now read from gateway) - Removed unused API key environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY) from UI services
- Removed
TENSORZERO_UI_CONFIG_PATHenvironment variable (deprecated) - Removed
--default-configcommand from UI service in readme example (UI doesn't support this flag) - Applied consistent formatting to healthcheck and command arrays in e2e CI files
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ui/fixtures/docker-compose.ui.yml | Removed provider credentials and config mount from UI service |
| ui/fixtures/docker-compose.e2e.ci.yml | Removed provider credentials and config mount; improved array formatting |
| ui/docker-compose.yml | Removed config volume mount |
| examples/readme/docker-compose.yml | Removed --default-config flag and OPENAI_API_KEY from UI service |
| examples/quickstart/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/optimization/dicl/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/multimodal-vision-finetuning/docker-compose.yml | Removed config mount from UI service |
| examples/mcp-model-context-protocol/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/integrations/openai-codex/docker-compose.yml | Removed config mount from UI service |
| examples/integrations/cursor/docker-compose.yml | Removed config mount from UI service |
| examples/integrations/crewai/example/tensorzero/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/haiku-hidden-preferences/docker-compose.yml | Removed config mount from UI service |
| examples/guides/tool-use/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/guides/datasets-datapoints/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/gsm8k-custom-recipe-dspy/docker-compose.yml | Removed config mount from UI service |
| examples/evaluations/tutorial/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/dynamic_evaluations/simple-agentic-rag/docker-compose.yml | Removed config mount from UI service |
| examples/docs/guides/operations/set-up-auth-for-tensorzero/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/docs/guides/operations/organize-your-configuration/docker-compose.yml | Removed config mount, OPENAI_API_KEY, and TENSORZERO_UI_CONFIG_PATH from UI service |
| examples/docs/guides/operations/enforce-custom-rate-limits/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/docs/guides/gateway/generate-structured-outputs/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/docs/guides/gateway/create-a-prompt-template/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/docs/guides/gateway/call-the-openai-responses-api/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/docs/guides/experimentation/run-adaptive-ab-tests/docker-compose.yml | Removed config mount and OPENAI_API_KEY from UI service |
| examples/data-extraction-ner/docker-compose.yml | Removed config mount from UI service |
| examples/chess-puzzles/docker-compose.yml | Removed config mount from UI service |
| examples/blog/bandits-in-your-llm-gateway/docker-compose.yml | Removed config mount and ANTHROPIC_API_KEY from UI service |
| examples/babyai/docker-compose.yml | Removed config mount from UI service |
| docs/quickstart.mdx | Updated documentation to remove config mount and OPENAI_API_KEY |
| docs/operations/set-up-auth-for-tensorzero.mdx | Updated documentation to remove config mount and OPENAI_API_KEY |
| docs/deployment/tensorzero-ui.mdx | Updated documentation to remove config mount references |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
GabrielBianconi commentedDec 13, 2025
/merge-queue |
🚀 Merge queue workflow triggered! View the run:https://github.com/tensorzero/tensorzero/actions/runs/20198243254 |
Uh oh!
There was an error while loading.Please reload this page.
* Clean up Docker Compose for UI* Lower log level for config message
Uh oh!
There was an error while loading.Please reload this page.
5e122afUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Fix#5081 but also remove unused provider credentials.
Important
Cleaned up Docker Compose configurations for TensorZero UI by removing unused volume mounts and provider credentials across multiple files.
volumesmounting./config:/app/config:rointensorzero-ui.mdx,set-up-auth-for-tensorzero.mdx, andquickstart.mdx.volumesmounting./config:/app/config:roindocker-compose.ymlfiles across various examples, includingbabyai,bandits-in-your-llm-gateway, andchess-puzzles.volumesmounting./config:/app/config:roindocker-compose.ymlfiles fordata-extraction-ner,run-adaptive-ab-tests, andcall-the-openai-responses-api.volumesmounting./config:/app/config:roindocker-compose.ymlfiles forcreate-a-prompt-template,generate-structured-outputs, andenforce-custom-rate-limits.volumesmounting./config:/app/config:roindocker-compose.ymlfiles fororganize-your-configuration,set-up-auth-for-tensorzero, andsimple-agentic-rag.volumesmounting./config:/app/config:roindocker-compose.ymlfiles fortutorial,gsm8k-custom-recipe-dspy, anddatasets-datapoints.volumesmounting./config:/app/config:roindocker-compose.ymlfiles fortool-use,haiku-hidden-preferences, andcrewai/example/tensorzero.volumesmounting./config:/app/config:roindocker-compose.ymlfiles forcursor,openai-codex, andmcp-model-context-protocol.volumesmounting./config:/app/config:roindocker-compose.ymlfiles formultimodal-vision-finetuning,dicl, andquickstart.volumesmounting./config:/app/config:roindocker-compose.ymlfiles forreadme,docker-compose.ymlinui, anddocker-compose.e2e.ci.ymlinui/fixtures.volumesmounting./config:/app/config:roindocker-compose.ui.ymlinui/fixtures.This description was created by
for9f3ac03. You cancustomize this summary. It will automatically update as commits are pushed.