Update _index.md

This commit is contained in:
Mark Fussell 2021-02-09 22:14:53 -08:00 committed by GitHub
parent b03378cdca
commit ac0365944a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,7 @@
type: docs
title: "Environment variable reference"
linkTitle: "Environment variables"
description: "A list of all environment variables used by Dapr"
description: "A list of environment variables used by Dapr"
weight: 300
---
@ -12,7 +12,8 @@ Following table lists the environment variables used by the Dapr runtime, CLI, o
|----------------------------------|------------------|-------------|
| DAPR_HTTP_PORT | Your application | The HTTP port that Dapr is listening on. Your application should use this variable to connect to Dapr instead of hardcoding the port value. Injected by the `dapr-sidecar-injector` into all the containers in the pod.
| DAPR_GRPC_PORT | Your application | The gRPC port that Dapr is listening on. Your application should use this variable to connect to Dapr instead of hardcoding the port value. Injected by the `dapr-sidecar-injector` into all the containers in the pod.
| DAPR_TOKEN_API | Your application | The token value used for API authentication. Refer to the [API token auth page](/operations/security/api-token/) for more information.
| DAPR_TOKEN_API | Your application | The token used for Dapr API authentication for requests from the application. Read [enable API token authentication in Dapr]({{< ref api-token >}}) for more information.
| APP_TOKEN_API | Your application | The token used by the app to authenticate requests from Dapr. Read [authenticate requests from Dapr using token authentication]({{< ref app-api-token >}}) for more information.
| DAPR_PLACEMENT_HOST |Your application | The address for the Dapr Placement service. Only needed in self-hosted mode if you run your app (which creates actors) and you want to tell the app the location of the Placement service. This is never needed outside of local machine development.
| DAPR_NETWORK | Dapr CLI | Optionally used by the Dapr CLI to specify the Docker network on which to deploy the Dapr runtime.
| DAPR_PLACEMENT_HOST | Your application | The host on which the placement service resides. Used for actors only.
| NAMESPACE | Dapr runtime | Used to specify a component's [namespace in self-hosted mode](/operations/components/component-scopes/#example-of-component-namespacing-in-self-hosted-mode).
| NAMESPACE | Dapr runtime | Used to specify a component's [namespace in self-hosted mode](({{< ref component-scopes >}})