Skip to content

Commit dafd3f3

Browse files
fix typo in multi-app run env var def (#3800)
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
1 parent 9f9deb7 commit dafd3f3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-overview.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ description: Run multiple applications with one CLI command
1111
{{% /alert %}}
1212

1313
Let's say you want to run several applications locally to test them together, similar to a production scenario. Multi-App Run allows you to start and stop a set of applications simultaneously, either:
14-
- Locally/self-hosted with processes, or
14+
- Locally/self-hosted with processes, or
1515
- By building container images and deploying to a Kubernetes cluster
1616
- You can use a local Kubernetes cluster (KiND) or one deploy to a Cloud (AKS, EKS, and GKE).
1717

18-
The Multi-App Run template file describes how to start multiple applications as if you had run many separate CLI `run` commands. By default, this template file is called `dapr.yaml`.
18+
The Multi-App Run template file describes how to start multiple applications as if you had run many separate CLI `run` commands. By default, this template file is called `dapr.yaml`.
1919

2020
{{< tabs Self-hosted Kubernetes>}}
2121

@@ -24,7 +24,7 @@ The Multi-App Run template file describes how to start multiple applications as
2424

2525
## Multi-App Run template file
2626

27-
When you execute `dapr run -f .`, it starts the multi-app template file (named `dapr.yaml`) present in the current directory to run all the applications.
27+
When you execute `dapr run -f .`, it starts the multi-app template file (named `dapr.yaml`) present in the current directory to run all the applications.
2828

2929
You can name template file with preferred name other than the default. For example `dapr run -f ./<your-preferred-file-name>.yaml`.
3030

@@ -41,7 +41,7 @@ apps:
4141
- appID: emit-metrics
4242
appDirPath: ../apps/emit-metrics/
4343
daprHTTPPort: 3511
44-
env:
44+
env:
4545
DAPR_HOST_ADD: localhost
4646
command: ["go","run", "app.go"]
4747
```
@@ -50,7 +50,7 @@ For a more in-depth example and explanation of the template properties, see [Mul
5050
5151
## Locations for resources and configuration files
5252
53-
You have options on where to place your applications' resources and configuration files when using Multi-App Run.
53+
You have options on where to place your applications' resources and configuration files when using Multi-App Run.
5454
5555
### Point to one file location (with convention)
5656
@@ -96,11 +96,11 @@ Watch [this video for an overview on Multi-App Run](https://youtu.be/s1p9MNl4VGo
9696

9797
## Multi-App Run template file
9898

99-
When you execute `dapr run -k -f .` or `dapr run -k -f dapr.yaml`, the applications defined in the `dapr.yaml` Multi-App Run template file starts in Kubernetes default namespace.
99+
When you execute `dapr run -k -f .` or `dapr run -k -f dapr.yaml`, the applications defined in the `dapr.yaml` Multi-App Run template file starts in Kubernetes default namespace.
100100

101101
> **Note:** Currently, the Multi-App Run template can only start applications in the default Kubernetes namespace.
102102

103-
The necessary default service and deployment definitions for Kubernetes are generated within the `.dapr/deploy` folder for each app in the `dapr.yaml` template.
103+
The necessary default service and deployment definitions for Kubernetes are generated within the `.dapr/deploy` folder for each app in the `dapr.yaml` template.
104104

105105
If the `createService` field is set to `true` in the `dapr.yaml` template for an app, then the `service.yaml` file is generated in the `.dapr/deploy` folder of the app.
106106

@@ -132,8 +132,8 @@ apps:
132132
containerImage: ghcr.io/dapr/samples/hello-k8s-python:latest
133133
```
134134

135-
> **Note:**
136-
> - If the `containerImage` field is not specified, `dapr run -k -f` produces an error.
135+
> **Note:**
136+
> - If the `containerImage` field is not specified, `dapr run -k -f` produces an error.
137137
> - The `createService` field defines a basic service in Kubernetes (ClusterIP or LoadBalancer) that targets the `--app-port` specified in the template. If `createService` isn't specified, the application is not accessible from outside the cluster.
138138

139139
For a more in-depth example and explanation of the template properties, see [Multi-app template]({{< ref multi-app-template.md >}}).

daprdocs/content/en/developing-applications/local-development/multi-app-dapr-run/multi-app-template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ apps:
156156
appPort: 3000
157157
unixDomainSocket: "/tmp/test-socket"
158158
env:
159-
- DEBUG: false
159+
DEBUG: false
160160
command: ["./backend"]
161161
```
162162
@@ -193,7 +193,7 @@ apps:
193193
appPort: 3000
194194
unixDomainSocket: "/tmp/test-socket"
195195
env:
196-
- DEBUG: false
196+
DEBUG: false
197197
```
198198

199199
The following rules apply for all the paths present in the template file:

0 commit comments

Comments
 (0)