Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit 5326abe

Browse files
authored
Set TEMPORAL_ADDRESS/TEMPORAL_CLI_ADDRESS on temporal container. (#226)
This avoids some auto-detection log messages and allows the temporal cli to connect to the server in the temporal container, not just temporal-admin-tools.
1 parent b756b87 commit 5326abe

7 files changed

Lines changed: 14 additions & 0 deletions

docker-compose-cass-es.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ services:
3737
- ENABLE_ES=true
3838
- ES_SEEDS=elasticsearch
3939
- ES_VERSION=v7
40+
- TEMPORAL_ADDRESS=temporal:7233
41+
- TEMPORAL_CLI_ADDRESS=temporal:7233
4042
image: temporalio/auto-setup:${TEMPORAL_VERSION}
4143
networks:
4244
- temporal-network

docker-compose-mysql-es.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ services:
4242
- ENABLE_ES=true
4343
- ES_SEEDS=elasticsearch
4444
- ES_VERSION=v7
45+
- TEMPORAL_ADDRESS=temporal:7233
46+
- TEMPORAL_CLI_ADDRESS=temporal:7233
4547
image: temporalio/auto-setup:${TEMPORAL_VERSION}
4648
networks:
4749
- temporal-network

docker-compose-mysql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ services:
2222
- MYSQL_PWD=root
2323
- MYSQL_SEEDS=mysql
2424
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
25+
- TEMPORAL_ADDRESS=temporal:7233
26+
- TEMPORAL_CLI_ADDRESS=temporal:7233
2527
image: temporalio/auto-setup:${TEMPORAL_VERSION}
2628
networks:
2729
- temporal-network

docker-compose-postgres-opensearch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ services:
5151
- ENABLE_ES=true
5252
- ES_SEEDS=opensearch
5353
- ES_VERSION=v7
54+
- TEMPORAL_ADDRESS=temporal:7233
55+
- TEMPORAL_CLI_ADDRESS=temporal:7233
5456
image: temporalio/auto-setup:${TEMPORAL_VERSION}
5557
networks:
5658
- temporal-network

docker-compose-postgres.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ services:
2323
- POSTGRES_PWD=temporal
2424
- POSTGRES_SEEDS=postgresql
2525
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
26+
- TEMPORAL_ADDRESS=temporal:7233
27+
- TEMPORAL_CLI_ADDRESS=temporal:7233
2628
image: temporalio/auto-setup:${TEMPORAL_VERSION}
2729
networks:
2830
- temporal-network

docker-compose-tls.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ services:
7676
- ES_SCHEME=https
7777
- ES_USER=elastic
7878
- ES_PWD=elastic
79+
- TEMPORAL_ADDRESS=temporal:7233
80+
- TEMPORAL_CLI_ADDRESS=temporal:7233
7981
networks:
8082
- temporal-network
8183
ports:

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ services:
4444
- ENABLE_ES=true
4545
- ES_SEEDS=elasticsearch
4646
- ES_VERSION=v7
47+
- TEMPORAL_ADDRESS=temporal:7233
48+
- TEMPORAL_CLI_ADDRESS=temporal:7233
4749
image: temporalio/auto-setup:${TEMPORAL_VERSION}
4850
networks:
4951
- temporal-network

0 commit comments

Comments
 (0)