You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Step 2: Build, Push, and Update Container Images (Container Model Only)
27
+
28
+
> **📌 Skip this step** if you deployed with the default `hostingModel=code`.
29
+
30
+
When deploying with `hostingModel=container`, the App Services start with a placeholder hello-world image. Run the combined container workflow to build and push the application images to your Azure Container Registry and update the App Services to use them.
31
+
32
+
**Run the combined ACR build/push/update script (remote build, no Docker required):**
> The script configures managed-identity based authentication between the App Services and your private ACR, then restarts all services. To build locally with Docker instead, use `--mode local`.
38
+
39
+
### Step 3: Configure App Authentication
27
40
28
41
1. After deployment is complete, navigate to your Azure App Service in the Azure portal
29
42
2. Follow the detailed instructions in [Set Up Authentication in Azure App Service](./azure_app_service_auth_setup.md) to add authentication to your web app
30
43
3. This will ensure only authorized users can access your application
31
44
32
-
### Step 3: Access and Configure the Admin Site
45
+
### Step 4: Access and Configure the Admin Site
33
46
34
47
1.**Navigate to the admin site** using the following URL pattern:
> **Note:** The script auto-discovers all resources in the resource group. It handles private networking (WAF) deployments by temporarily enabling public access, performing the setup, then restoring the original state.
336
336
337
-
### 5.2 Configure Authentication (Required for Chat Application)
337
+
### 5.2 Build, Push, and Update Container Images (Container Model Only)
338
+
339
+
> **📌 Skip this step** if you deployed with the default `hostingModel=code`.
340
+
341
+
When deploying with `hostingModel=container`, the App Services start with a placeholder hello-world image. After provisioning, run the combined container workflow to build and push the application images to your Azure Container Registry and update the App Services to use them.
- Updates each App Service to pull its image from your private ACR using managed-identity authentication
356
+
- Restarts all services
357
+
358
+
> By default, images are built remotely using `az acr build` (no local Docker required). To build locally with Docker instead, use `-Mode local` in PowerShell or `--mode local` in Bash. You can also set a custom tag with `-Tag` or `--tag`.
359
+
360
+
> **Re-deployment note:** If you re-run `azd provision`, run this script again to restore the correct container images.
361
+
362
+
### 5.3 Configure Authentication (Required for Chat Application)
338
363
339
364
**This step is mandatory for Chat Application access:**
2. Wait up to 10 minutes for authentication changes to take effect
343
368
344
-
### 5.3 Verify Deployment
369
+
### 5.4 Verify Deployment
345
370
346
371
1. Access your application using the URL from Step 4.3
347
372
2. Confirm the application loads successfully
348
373
3. Verify you can sign in with your authenticated account
349
374
350
-
### 5.4 Test the Application
375
+
### 5.5 Test the Application
351
376
352
377
**Quick Test Steps:**
353
378
1. Navigate to the admin site, where you can upload documents. Then select Ingest Data and add your data. You can find sample data in the [data](../data) directory.
0 commit comments