|
1 | | -version: 1 |
2 | | - |
| 1 | +version: 2 |
3 | 2 | application: temporal-ui |
4 | 3 | description: > |
5 | | - The Temporal UI provides a browser-based user interface for Temporal, allowing users to view Workflow Execution state, metadata, and debug their Temporal applications. |
6 | | -
|
7 | | -docker: |
8 | | - parameters: |
9 | | - - -p 8081:8081 |
10 | | - access: | |
11 | | - ### New entrypoint `pebble` |
12 | | -
|
13 | | - Please note that the entrypoint of the images in this repository is [Pebble](https://documentation.ubuntu.com/pebble/), a lightweight service manager. The pebble process launches and supervises the temporal ui server process. |
| 4 | + The Temporal UI provides a browser-based user interface for Temporal, allowing users to view Workflow Execution |
| 5 | + state, metadata, and debug their Temporal applications. |
14 | 6 |
|
15 | | - #### Temporal UI Server Configuration |
| 7 | + ## Temporal UI Server Configuration |
16 | 8 |
|
17 | | - Temporal UI server must be provided with a configuration file to start up sucessfully. We do not include any default configurations in the image. Instead, we expect the user to either add a configuration file in the deployed container or mount a volume with the config file in the container. |
| 9 | + Temporal UI server must be provided with a configuration file to start up successfully. We do not include any default configurations in the image. Instead, we expect the user to either add a configuration file in the deployed container or mount a volume with the config file in the container. |
18 | 10 |
|
19 | | - Some development configuration files can be found in [the temporal ui repository](https://github.com/temporalio/ui/tree/main/server/config). |
| 11 | + Some development configuration files can be found in [the Temporal UI repository](https://github.com/temporalio/ui/tree/main/server/config). |
| 12 | + |
| 13 | +website: https://github.com/temporalio/ui |
| 14 | +issues: https://github.com/canonical/temporal-rocks/issues |
| 15 | +source-code: https://github.com/canonical/temporal-rocks |
20 | 16 |
|
21 | | - The following outlines steps to mount the development configuration files while launching a container: |
22 | | -
|
23 | | - ```sh |
24 | | - $ git clone https://github.com/temporalio/ui |
25 | | -
|
26 | | - $ docker run -d --name temporal-ui-container -p 8081:8081 -v ./ui/server/config:/home/ui-server/config -e TEMPORAL_ROOT=/home/ui-server -e TEMPORAL_ENVIRONMENT=development ubuntu/temporal-ui:2.39.0-24.04_edge |
27 | | - ``` |
28 | | -
|
29 | | -parameters: |
30 | | - - type: -e |
31 | | - value: 'TEMPORAL_ROOT=/home/ui-server' |
32 | | - description: Root directory of execution environment |
33 | | - - type: -e |
34 | | - value: 'TEMPORAL_CONFIG_DIR=config' |
35 | | - description: Config directory path relative to the root |
36 | | - - type: -e |
37 | | - value: 'TEMPORAL_ENVIRONMENT=development' |
38 | | - description: Runtime environment |
| 17 | +docker: |
| 18 | + parameters: >- |
| 19 | + -d |
| 20 | + -p 8081:8081 |
| 21 | + -v <path>:/home/ui-server/config |
| 22 | + -e TEMPORAL_ROOT=/home/ui-server |
| 23 | + -e TEMPORAL_ENVIRONMENT=production |
| 24 | + run_conclusion: | |
| 25 | + The Temporal UI is started by Pebble and serves the UI on port 8081. |
| 26 | + |
| 27 | + To obtain a runnable configuration, refer to the [official repository](https://github.com/temporalio/ui). |
| 28 | + |
| 29 | + |
| 30 | +
|
| 31 | +config: |
| 32 | + TEMPORAL_ROOT: |
| 33 | + type: env |
| 34 | + description: Root directory of execution environment. |
| 35 | + TEMPORAL_CONFIG_DIR: |
| 36 | + type: env |
| 37 | + description: Config directory path relative to `TEMPORAL_ROOT`. |
| 38 | + TEMPORAL_ENVIRONMENT: |
| 39 | + type: env |
| 40 | + description: Runtime environment. |
| 41 | + '`-v <path>:/home/ui-server/config`': |
| 42 | + type: mount |
| 43 | + description: >- |
| 44 | + Temporal UI server configuration directory. |
| 45 | + Replace the target path if `TEMPORAL_ROOT` and `TEMPORAL_CONFIG_DIR` are set to different values from `/home/ui-server` and `config`. |
| 46 | + '`-p <port>:8081`': |
| 47 | + type: port |
| 48 | + description: Temporal UI is configurable to expose the web interface on localhost. |
0 commit comments