Deploy WordPress on TurboStack
Deploy WordPress on TurboStack, which provisions the PHP runtime, MySQL database, and caching services for you, with a complete example host YAML included.
WordPress is a PHP content management system for blogs, marketing sites, and WooCommerce stores. On TurboStack, the platform provisions the PHP runtime, MySQL database, and caching services from your host configuration. You deploy by publishing.
Requirements
Note
TurboStack can auto-install WordPress for you. Set app_install: true and the platform uses wp-cli to scaffold the site, so you skip the manual installer.
Configure it
- Open the host's Applications tab.
- Click Add app or database.
- Set App Type to
wordpressand choose the PHP runtime under Technologies. - Enable MySQL and Redis as services, and optionally enable Varnish.
- Publish to apply the configuration.
Example configuration
webserver: nginx
mysql_version: "8.4" # WordPress stores its data in MySQL
redis_enabled: true # object cache (recommended, esp. WooCommerce)
system_users:
- username: prod
vhosts:
- server_name: example.com www.example.com
app_type: wordpress
php_version: "8.4"
cert_type: letsencrypt # automatic HTTPS
varnish_enabled: false # optional full-page cache; verify plugin compatibility
Why these choices
- MySQL 8.4 is WordPress's canonical datastore; all posts, options, and metadata live there.
- Redis provides a persistent object cache that reduces repeated database queries. The gain is highest for WooCommerce and high-traffic sites.
- Varnish is left off by default because full-page caching can conflict with logged-in sessions and some plugins. Enable it only after validating compatibility.
- Nginx serves static assets efficiently and pairs well with PHP-FPM for WordPress workloads.
- Let's Encrypt gives automatic, renewing HTTPS with no manual certificate handling.
Related
-
Best practices - performance & stability.
-
WP-CLI command reference - manage WordPress over SSH.
-
Troubleshooting - logs & common fixes.