Skip to content

Commit

Permalink
Fix dockerize template syntax (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
feedmeapples authored Apr 7, 2022
1 parent abf8cb3 commit 0f40dd7
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions docker/config_template.yaml
Original file line number Diff line number Diff line change
@@ -1,37 +1,36 @@
temporalGrpcAddress: { { default .Env.TEMPORAL_ADDRESS "127.0.0.1:7233" } }
port: { { default .Env.TEMPORAL_UI_PORT "8080" } }
uiRootPath: { { default .Env.TEMPORAL_UI_ROOT_PATH "/" } }
enableUi: { { default .Env.TEMPORAL_UI_ENABLED "true" } }
enableOpenApi: { { default .Env.TEMPORAL_OPENAPI_ENABLED "true" } }
defaultNamespace: { { default .Env.TEMPORAL_DEFAULT_NAMESPACE "default" } }
refreshInterval: { { default .Env.TEMPORAL_CONFIG_REFRESH_INTERVAL "0s" } }
temporalGrpcAddress: {{ default .Env.TEMPORAL_ADDRESS "127.0.0.1:7233" }}
port: {{ default .Env.TEMPORAL_UI_PORT "8080" }}
uiRootPath: {{ default .Env.TEMPORAL_UI_ROOT_PATH "/" }}
enableUi: {{ default .Env.TEMPORAL_UI_ENABLED "true" }}
enableOpenApi: {{ default .Env.TEMPORAL_OPENAPI_ENABLED "true" }}
defaultNamespace: {{ default .Env.TEMPORAL_DEFAULT_NAMESPACE "default" }}
refreshInterval: {{ default .Env.TEMPORAL_CONFIG_REFRESH_INTERVAL "0s" }}
showTemporalSystemNamespace:
{ { default .Env.TEMPORAL_SHOW_TEMPORAL_SYSTEM_NAMESPACE "false" } }
{{ default .Env.TEMPORAL_SHOW_TEMPORAL_SYSTEM_NAMESPACE "false" }}
cors:
allowOrigins:
# override framework's default that allows all origins "*"
- { { default .Env.TEMPORAL_CORS_ORIGINS "http://localhost:8080" } }
- {{ default .Env.TEMPORAL_CORS_ORIGINS "http://localhost:8080" }}
tls:
caFile: { { default .Env.TEMPORAL_TLS_CA "" } }
certFile: { { default .Env.TEMPORAL_TLS_CERT "" } }
keyFile: { { default .Env.TEMPORAL_TLS_KEY "" } }
caData: { { default .Env.TEMPORAL_TLS_CA_DATA "" } }
certData: { { default .Env.TEMPORAL_TLS_CERT_DATA "" } }
keyData: { { default .Env.TEMPORAL_TLS_KEY_DATA "" } }
enableHostVerification:
{ { default .Env.TEMPORAL_TLS_ENABLE_HOST_VERIFICATION "false" } }
serverName: { { default .Env.TEMPORAL_TLS_SERVER_NAME "" } }
caFile: {{ default .Env.TEMPORAL_TLS_CA "" }}
certFile: {{ default .Env.TEMPORAL_TLS_CERT "" }}
keyFile: {{ default .Env.TEMPORAL_TLS_KEY "" }}
caData: {{ default .Env.TEMPORAL_TLS_CA_DATA "" }}
certData: {{ default .Env.TEMPORAL_TLS_CERT_DATA "" }}
keyData: {{ default .Env.TEMPORAL_TLS_KEY_DATA "" }}
enableHostVerification: {{ default .Env.TEMPORAL_TLS_ENABLE_HOST_VERIFICATION "false" }}
serverName: {{ default .Env.TEMPORAL_TLS_SERVER_NAME "" }}
auth:
enabled: { { default .Env.TEMPORAL_AUTH_ENABLED "false" } }
enabled: {{ default .Env.TEMPORAL_AUTH_ENABLED "false" }}
providers:
- label: { { default .Env.TEMPORAL_AUTH_LABEL "sso" } }
type: { { default .Env.TEMPORAL_AUTH_TYPE "oidc" } }
providerUrl: { { .Env.TEMPORAL_AUTH_PROVIDER_URL } }
clientId: { { .Env.TEMPORAL_AUTH_CLIENT_ID } }
clientSecret: { { .Env.TEMPORAL_AUTH_CLIENT_SECRET } }
callbackUrl: { { .Env.TEMPORAL_AUTH_CALLBACK_URL } }
scopes:
- openid
- profile
- email
passIdToken: false
- label: {{ default .Env.TEMPORAL_AUTH_LABEL "sso" }}
type: {{ default .Env.TEMPORAL_AUTH_TYPE "oidc" }}
providerUrl: {{ .Env.TEMPORAL_AUTH_PROVIDER_URL }}
clientId: {{ .Env.TEMPORAL_AUTH_CLIENT_ID }}
clientSecret: {{ .Env.TEMPORAL_AUTH_CLIENT_SECRET }}
callbackUrl: {{ .Env.TEMPORAL_AUTH_CALLBACK_URL }}
scopes:
- openid
- profile
- email
passIdToken: false

0 comments on commit 0f40dd7

Please sign in to comment.