Azure + Extensions

Hi all,

I please need some advice on how to go about configuring Azure to use extensions? I am using Blob Storage, my understanding is I can set a location for that using EXTENSIONS_LOCATION but the documentation isn’t really clear. Is Blob Storage supported for extensions? Or do I have to go via a custom docker compose?

This is my current config. I guess I need to configure a volume for Blob but I’m not 100% sure.

version: ‘3’
services:
directus:
image: directus/directus:11.7.2
ports:
- 8055:8055
environment:
LOG_LEVEL: debug
KEY: ${KEY}
SECRET: ${SECRET}
ADMIN_EMAIL: ${ADMIN_EMAIL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
DB_CLIENT: ${DB_CLIENT}
DB_HOST: ${DB_HOST}
DB_PORT: ${DB_PORT}
DB_DATABASE: ${DB_DATABASE}
DB_USER: ${DB_USER}
DB_PASSWORD: ${DB_PASSWORD}
DB_OPTIONS__ENCRYPT: ${DB_OPTIONS__ENCRYPT}
STORAGE_LOCATIONS: ${STORAGE_LOCATIONS}
STORAGE_AZURE_DRIVER: ${STORAGE_AZURE_DRIVER}
STORAGE_AZURE_ACCOUNT_NAME: ${STORAGE_AZURE_ACCOUNT_NAME}
STORAGE_AZURE_ACCOUNT_KEY: ${STORAGE_AZURE_ACCOUNT_KEY}
STORAGE_AZURE_CONTAINER: ${STORAGE_AZURE_CONTAINER}
WEBSOCKETS_ENABLED: true

Heya! The EXTENSIONS_LOCATION holds the name of the storage location from STORAGE_LOCATIONS you want to use. In your config that would be EXTENSIONS_LOCATION=azure.

I’ll tweak the docs to make this a bit clearer as it’s indeed written a little confusingly :slightly_smiling_face: Ty!