hostname
for the corresponding service.
<service-name>
is the name of the service that is running as part of Helm chart installation and is of type NodePort
or ClusterIP
. Refer to your Helm chart’s documentation to find the <service-name>
.
For our current example: You can add this as DB_HOST secret under secrets section of the NodeJS app service and use it in your code via env var.
{{
and }}
.
hosts
here is a helper function we support today that can bring the internal dns hostname of any service running within the same LocalOps environment.
For current example, run Temporal chart and Postgres chart as services within your LocalOps environemnt. And provide the following in Temporal chart’s values.yaml configuration.