This sample provides guidance and code to run a containerized Drupal image on Azure Web Apps for Containers with the Drupal database externalized to Azure Database for MariaDB. The container image used is Bitnami's Docker images for Drupal with NGINX.
This guidance uses the Bring Your Own Storage (BYOS) feature for Azure App Service. This storage will be implemented as an Azure File Share, allowing multiple Drupal containers to access the file system simultaneously. This also provides persistence of the Drupal files that would otherwise be lost when containers stop and/or restart.
NOTE: The Azure App Service BYOS feature is currently in preview.
This guidance was tested and verified on the following platforms:
- Ubuntu 18.04 LTS
The following software needs to be installed on your local computer before you start.
- Azure Subscription (commercial)
- Azure CLI, v2.18 (or newer)
To get started, you can deploy based on the following deployment options:
- standard-app-service deployment
- private-ase-v3-deployment