Skip to content

Commit 6164b91

Browse files
Support configurable PublicClient in docker config_template.yaml (#671)
1 parent aabf3c8 commit 6164b91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/config_template.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,10 @@ kafka:
213213
topic: temporal-visibility-dev
214214
dlq-topic: temporal-visibility-dev-dlq
215215

216+
{{ $publicIp := default .Env.BIND_ON_IP "127.0.0.1" -}}
217+
{{- $defaultPublicHostPost := (print $publicIp ":7233") -}}
216218
publicClient:
217-
hostPort: {{ default .Env.BIND_ON_IP "127.0.0.1" }}:7233
219+
hostPort: {{ default .Env.PUBLIC_FRONTEND_ADDRESS $defaultPublicHostPost }}
218220

219221
dynamicConfigClient:
220222
filepath: {{ default .Env.DYNAMIC_CONFIG_FILE_PATH "/etc/temporal/config/dynamicconfig" }}

0 commit comments

Comments
 (0)