Skip to content

Commit 6f40bd0

Browse files
committed
minor nits
1 parent b13c7bd commit 6f40bd0

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

articles/app-service/configure-sidecar.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Add the `Microsoft.Web/sites/sitecontainers` resource type to an app. To pull a
7575
7676
For more information, see [Microsoft.Web sites/sitecontainers](/azure/templates/microsoft.web/sites/sitecontainers).
7777

78-
## How to Define Environment Variables for a Sidecar
78+
## Set environment variables
7979

8080
In a Linux app, all containers (main and sidecars) share environment variables. To override a specific variable for a sidecar, add it in the sidecar's configuration.
8181

@@ -128,7 +128,7 @@ From the Azure portal, you can add a Datadog sidecar extension to collect logs,
128128

129129
Before you add the Datadog sidecar extension, add the Datadog tracer setup in your Dockerfile, similar to the script example for code-based apps.
130130

131-
## Add the Phi-3/Phi-4
131+
## Add the Phi-3/Phi-4 sidecar extension
132132

133133
From the Azure portal, you can add a Phi-3 or Phi-4 sidecar extension to your app to provide a local inference model for AI workloads. Your app must be in a pricing tier that supports the inferencing needs. For unsupported tiers, you don't see the options for the Phi-3/Phi-4 sidecar extensions.
134134
@@ -173,4 +173,10 @@ Example configuration:
173173
- Container4 does not share a volume with the others.
174174
175175
> [!Note]
176-
> For code-based Linux apps, the built-in Linux container cannot use volume mounts.
176+
> For code-based Linux apps, the built-in Linux container cannot use volume mounts.
177+
178+
## More resources
179+
180+
- [Sidecars overview](overview-sidecar.md)
181+
- [Migrate Docker Compose apps to sidecars in Azure App Service](migrate-sidecar-multi-container-apps.md)
182+
- [Microsoft Q&A for Azure App Service](/answers/tags/436/azure-app-service)

articles/app-service/migrate-sidecar-multi-container-apps.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ If you're running a Docker Compose app in Azure App Service, you should migrate
1414
- Script-based migration - recommended for simple setups.
1515
- Manual migration
1616

17-
## a. Prerequisites
17+
## Prerequisites
1818

1919
- PowerShell
2020
- Azure CLI
2121
- Docker (for building and pushing images)
22-
- Text editor (e.g., VS Code)
2322

24-
## Script-based migration
23+
## Migrate with a script
2524

2625
If your Docker Compose file is straightforward, you can use the official migration script to automate the process.
2726

@@ -42,9 +41,9 @@ If your Docker Compose file is straightforward, you can use the official migrati
4241
-targetPort "<targetPort>"
4342
```
4443
45-
If your registry requires authentication, the script prompts you to provide `dockerRegistryServerUsername` and `dockerRegistryServerPassword` interactively.
44+
If your registry requires authentication, the script prompts you to provide `dockerRegistryServerUsername` and `dockerRegistryServerPassword` interactively.
4645
47-
## Manual migration
46+
## Migrate manually
4847
4948
1. Sign in to Azure and set your subscription.
5049
@@ -116,26 +115,26 @@ If your registry requires authentication, the script prompts you to provide `doc
116115
az webapp deployment slot swap --name <webapp-name> --resource-group <resource-group> --slot <slot-name> --target-slot production
117116
```
118117
119-
## Mapping of Docker Compose Attributes and Sidecar Configuration
118+
## Mapping of Docker Compose attributes and sidecar configuration
120119
121120
The following Docker Compose fields are mapped to sidecar configuration:
122121
123-
| Docker Compose | Sidecar Configuration | Notes |
122+
| Docker Compose | Sidecar configuration | Notes |
124123
|---------------|----------------------|-------|
125124
| `command`, `entrypoint` | `startUpCommand` | |
126125
| `environment` | `environmentVariables` | |
127126
| `image` | `image` | |
128-
| `ports` | `targetPort` | Only ports 80 and 8080 are supported for external traffic |
129-
| `volumes` | `volumeMounts` | Persistent Azure storage not supported |
127+
| `ports` | `targetPort` | Only ports 80 and 8080 are supported for external traffic. |
128+
| `volumes` | `volumeMounts` | Persistent Azure storage not supported. |
130129
131130
The following Docker Compose fields are unsupported in sidecars:
132131
133132
| Docker Compose Field | Support | Notes |
134133
|---------------------|---------|-------|
135-
| `build` | Not allowed | Pre-build and push images to a registry |
136-
| `depends_on` | Ignored | No container startup ordering guaranteed |
137-
| `networks` | Ignored | Network handled internally |
138-
| `secrets` | Ignored | Use App Settings or Key Vault |
134+
| `build` | Not allowed | Pre-build and push images to a registry. |
135+
| `depends_on` | Ignored | No container startup ordering is guaranteed. |
136+
| `networks` | Ignored | Networking is handled internally. |
137+
| `secrets` | Ignored | Use App Service app settings or Key Vault for secrets. |
139138
| `volumes` using `{WEBAPP_STORAGE_HOME}` or `{WEBSITES_ENABLE_APP_SERVICE_STORAGE}` | Not supported | |
140139
141140
## Migration limitations and considerations

articles/app-service/overview-sidecar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ author: cephalin
1111

1212
In Linux App Service apps (built-in containers and custom containers), a sidecar is an auxiliary container that runs in the same environment as your main app container. Sidecars can provide supporting services (like telemetry, caching, or AI inference) and are managed as part of your App Service app.
1313

14-
## Why use Sidecars on App Service?
14+
## Why use sidecars on App Service?
1515

16-
Sidecars enable you to add new capabilitiessuch as monitoring, caching, AI, or custom logicwithout modifying your main application code (in built-in containers) or your main container (in custom containers). Benefits include:
16+
Sidecars enable you to add new capabilities, such as monitoring, caching, AI, or custom logic, without modifying your main application code (in built-in containers) or your main container (in custom containers). Benefits include:
1717

1818
- **Separation of concerns:** Add or update services independently of your main app.
1919
- **Extensibility:** Integrate prebuilt or custom extensions (e.g., OpenTelemetry, Redis, Datadog, Phi-3/4 AI models).

0 commit comments

Comments
 (0)