When I run temporal server using temporal cli, there is a button to start Workflow on UI:
But when I deploy the same version of UI on docker or kubernetes, I cannot see this button.
Which configuration is missing to enable this button?
I think the environment variable your looking for is TEMPORAL_START_WORKFLOW_DISABLED = “false”
I had to dig through the PRs on the repo to find it so not sure if it’s documented anywhere yet Start a Workflow Execution from the UI by Alex-Tideman · Pull Request #2116 · temporalio/ui · GitHub
Thank @bbemis, this environment variable is missing in this document: Temporal Web UI environment variables reference | Temporal Documentation
Is this a UI environment variable? I tried setting it on my docker-compose for the UI but it had no effect.
Yes, @OhMyDeera. Here is how I configure it in docker-compose:
temporal-ui:
container_name: temporal-ui
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
- TEMPORAL_START_WORKFLOW_DISABLED=false
image: temporalio/ui:2.30.3
ports:
- 8233:8080
1 Like