Dapr Sidecar Extension

Learn how to add a Dapr sidecar with a Dapr extension

Overview

The daprSidecar extensions adds and configures a Dapr sidecar to your application.

Extension format

In this example a container adds a Dapr extension to add a Dapr sidecar:

resource frontend 'Applications.Core/containers@2023-10-01-preview' = {
  name: 'frontend'
  properties: {
    application: app.id
    container: {...}
    extensions: [
      {
        kind: 'daprSidecar'
        appId: 'frontend'
        appPort: 3000
      }
    ]
  }
}

Properties

PropertyRequiredDescriptionExample
kindyThe kind of extension.dapr
appIdnThe appId of the Dapr sidecar.backend
appPortnThe port your service exposes to Dapr3500
confignThe configuration to use for the Dapr sidecar