Deploy Drupal on TurboStack

Deploy Drupal on TurboStack, which provisions the PHP runtime, MySQL database, and Redis cache while you bring your own code, with a complete example host YAML included.

Drupal is a PHP content management framework. On TurboStack the platform provisions the PHP runtime, MySQL database, and Redis cache from your host configuration, and you deploy by publishing.

Requirements

Requirement Recommended
App type drupal
Runtime PHP 8.4 (or newer)
Database MySQL 8.4
Cache (Redis) Enabled (configure Drupal to use it)
Page cache (Varnish) Optional
Web server Nginx

Configure it

  1. Open the host's Applications tab.
  2. Click Add app or database.
  3. Set App Type to drupal and choose the PHP runtime under Technologies.
  4. Enable MySQL and Redis as services.
  5. Publish, then deploy your code via Git deployment.

Example configuration

webserver: nginx
mysql_version: "8.4"           # Drupal database
redis_enabled: true            # cache backend; configure Drupal to use it
system_users:
  - username: prod
    vhosts:
      - server_name: drupal.example.com www.drupal.example.com
        app_type: drupal
        php_version: "8.4"
        cert_type: letsencrypt

Why these choices

  • MySQL 8.4 is Drupal's relational datastore for content, configuration, and users.
  • Redis provides a fast cache backend, but Drupal must be configured to use it (via a contrib module and settings), since it is not automatic.
  • Varnish is optional; enable it for full-page caching of anonymous traffic when needed.
  • Nginx serves Drupal efficiently and pairs with PHP-FPM.
  • You bring your own code, so the application files and database are deployed by you rather than scaffolded by the platform.