temporalio / temporalio/ui

Document CORS environment variables for UI docker

Open Beginner friendly
#2,873 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
431
Forks
179
Avg merge
2d 9h
Merged PRs (30d)
71

Description

Is your feature request related to a problem? Please describe.

TEMPORAL_CORS_ORIGINS and TEMPORAL_CSRF_COOKIE_INSECURE env variables are not documented in docker hub as well as temporal docs.

Describe the solution you'd like

Add a one liner description in docs on how to set cors via env variables when running temporal UI in docker.

Describe alternatives you've considered

Currently I had to dig through code on how cors variables(in temporal/ui docker) are loaded in config via env variables.

Reference: https://github.com/temporalio/ui/blob/a3f62d02f17eb218462e0eb69d2cb764e29e8494/server/config/docker.yaml#L27-L38

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with server/config/docker.yaml at the referenced lines to confirm how TEMPORAL_CORS_ORIGINS and TEMPORAL_CSRF_COOKIE_INSECURE are loaded. Then review the Docker Hub UI page and Temporal Web UI environment-variables documentation, and add concise usage descriptions showing how to set these variables when running the UI container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.