Skip to content

Extensions

Directus extensions in the backend package.

Custom extensions live in backend/extensions/ and are copied into the Docker image at build time. Additional extensions are installed via pnpm in the Dockerfile.

  • Endpoints: custom API routes
  • Hooks: event-driven automation
  • Interfaces: custom field UIs in the admin app
  1. Place the extension under backend/extensions/<type>/<name>/
  2. Rebuild and redeploy: pnpm deploy:backend
  3. Enable the extension in the Directus admin if required

Extension development follows Directus extension docs.