Skip to content

clarified the docs on UI deployment via docker compose#7085

Open
virajmehta wants to merge 1 commit intomainfrom
viraj/clarify-ui-docs
Open

clarified the docs on UI deployment via docker compose#7085
virajmehta wants to merge 1 commit intomainfrom
viraj/clarify-ui-docs

Conversation

@virajmehta
Copy link
Copy Markdown
Member

@virajmehta virajmehta commented Mar 26, 2026

Note

Low Risk
Low risk documentation-only change that adds guidance for setting TENSORZERO_GATEWAY_URL in a local Docker Compose setup; no runtime behavior is modified.

Overview
Clarifies the docker-compose example in docs/deployment/tensorzero-ui.mdx by adding a commented environment snippet showing how to set TENSORZERO_GATEWAY_URL when the gateway is deployed locally (e.g., http://gateway:3000).

Written by Cursor Bugbot for commit 1ef70d5. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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.

Reviewed commit: 1ef70d5b17

ℹ️ 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".

- ${ENV_FILE:-.env}
# If your gateway is deployed locally, set
# environment:
# TENSORZERO_GATEWAY_URL: http://gateway:3000
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Use a resolvable host for local gateway example

This comment suggests TENSORZERO_GATEWAY_URL: http://gateway:3000 when the gateway is deployed locally, but in this Compose snippet only the ui service is defined, so gateway is not a guaranteed DNS name and the UI will fail to connect in the common case where the gateway is running on the host machine. In that setup, users need a host-reachable address (for example host.docker.internal with the appropriate host mapping on Linux), so this guidance can cause a broken deployment.

Useful? React with 👍 / 👎.

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.

2 participants