Skip to content

Commit 1f7b22c

Browse files
committed
feat: add separate temporal-ui service and temporal database
- Add temporalio/ui:2.31.2 for Temporal Web UI - Separate Temporal database (temporal) from app database (memu) - Remove incorrect port mapping 8088:8233 from temporal service - Expose Web UI on port 8088
1 parent d40d004 commit 1f7b22c

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,22 @@ services:
3434
- POSTGRES_USER=${POSTGRES_USER:-postgres}
3535
- POSTGRES_PWD=${POSTGRES_PASSWORD:-postgres}
3636
- POSTGRES_SEEDS=postgres
37-
- POSTGRES_DB=${POSTGRES_DB:-memu}
37+
- POSTGRES_DB=${TEMPORAL_DB:-temporal}
3838
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
3939
ports:
4040
- "7233:7233" # Temporal gRPC
41-
- "8088:8233" # Temporal Web UI
41+
networks:
42+
- memu-network
43+
44+
# Temporal Web UI
45+
temporal-ui:
46+
image: temporalio/ui:2.31.2
47+
depends_on:
48+
- temporal
49+
environment:
50+
- TEMPORAL_ADDRESS=temporal:7233
51+
ports:
52+
- "8088:8080" # Temporal Web UI
4253
networks:
4354
- memu-network
4455

0 commit comments

Comments
 (0)