How to Deploy the PDF Viewer Docker Image to Azure App Service in

14 Aug 20261 minute to read

Prerequisites

az login

Step 1: Create a resource group.

az group create --name pdfviewerresourcegroup --location "East US"

Step 2: Create an Azure App Service plan.

az appservice plan create --name pdfviewerappservice --resource-group pdfviewerresourcegroup --sku S1 --is-linux

Step 3: Create a Docker Compose app.

Create a multi-container web app in the plan using your docker-compose file (ensure it references syncfusion/pdfviewer-server:latest and sets SYNCFUSION_LICENSE_KEY).

az webapp create --resource-group pdfviewerresourcegroup --plan pdfviewerappservice --name pdfviewer-server --multicontainer-config-type compose --multicontainer-config-file pdfviewer-server-compose.yml

Step 4: Browse to the app.

Open the app at the Azure-provided default domain, for example, https://pdfviewer-server.azurewebsites.net. Use HTTPS in production. Verify the server API returns a default response at the corresponding /api/pdfviewer path on the same domain.

Append the service endpoint (for example, https://pdfviewer-server.azurewebsites.net/api/pdfviewer) to the PDF Viewer client’s serviceUrl.

See the PDF Viewer getting started guide for client configuration: https://help.syncfusion.com/document-processing/pdf/pdf-viewer/javascript-es5/getting-started/

For guidance on deploying multi-container apps to Azure App Service for Containers, see the Azure quickstart: https://learn.microsoft.com/en-us/azure/app-service/tutorial-custom-container-sidecar