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.
Note
This is a configuration-only application: you bring your own Drupal codebase and database. Deploy your code with Git deployment.
Requirements
Configure it
- Open the host's Applications tab.
- Click Add app or database.
- Set App Type to
drupaland choose the PHP runtime under Technologies. - Enable MySQL and Redis as services.
- 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.
Related
-
Best practices - performance & stability.
-
Troubleshooting - logs & common fixes.