Skip to content

Commit 29a0c97

Browse files
Allow to configure HTTP settings using template (cadence-workflow#5329)
1 parent 3352c16 commit 29a0c97

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker/config_template.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ services:
118118
port: {{ default .Env.FRONTEND_PORT "7933" }}
119119
grpcPort: {{ default .Env.GRPC_FRONTEND_PORT "7833" }}
120120
bindOnIP: {{ default .Env.BIND_ON_IP "127.0.0.1" }}
121+
{{- if .Env.FRONTEND_HTTP_PORT }}
122+
http:
123+
port: {{ .Env.FRONTEND_HTTP_PORT }}
124+
procedures:
125+
{{- range $seed := (split .Env.FRONTEND_HTTP_PROCEDURES ",") }}
126+
- {{ . }}
127+
{{- end }}
128+
{{- end }}
121129
{{- if .Env.STATSD_ENDPOINT }}
122130
metrics:
123131
statsd:

0 commit comments

Comments
 (0)