Trellis
Overview
WordPress LEMP stack with PHP 8.3, Composer, WP-CLI and more
- Adoption threshold
- Low, requires environment setup
- Supported platforms
- Docker, CLI, Node.js
- Deployment
- Self-hosted
- Access method
- GitHub / source / Docs
Ansible-powered LEMP stack for WordPress
Website Documentation Releases Community
Support us
Roots is an independent open source org, supported only by developers like you. Your sponsorship funds WP Packages and the entire Roots ecosystem, and keeps them independent. Support us by purchasing Radicle or sponsoring us on GitHub — sponsors get access to our private Discord.
Sponsors
Overview
Trellis is a collection of Ansible playbooks for setting up a LEMP stack for WordPress.
- Local development environment with Lima VMs
- High-performance production servers
- Zero-downtime deploys for your Bedrock-based WordPress sites
- trellis-cli for easier management
Getting Started
See the Trellis installation documentation.
Community
Keep track of development and community news.
- Join us on Discord by sponsoring us on GitHub
- Join us on Roots Discourse
- Follow @rootswp on Twitter
- Follow the Roots Blog
- Subscribe to the Roots Newsletter
Source access
Get code
Copy clone URLs, use GitHub CLI, or download the current default-branch source archive.
Clone using the web URL.
Clone using the SSH URL.
Clone using GitHub CLI.
GitHub Releases
v1.31.1
Latest GitHub Release was published on . This page has synchronized the version entry, notes, and downloadable assets.
Related links
Recent releases
What's Changed Update dependency msmtp to v1.1.0 (https://github.com/roots/trellis/pull/1662)
What's Changed Replace ssmtp with msmtp ssmtp has been unmaintained for years. Trellis now uses msmtp as the mail transfer agent via the new roots.msmtp Galaxy role. msmtp is actively maintained and offers better auth detection and multi-account support. Add S…
What's Changed Disable PHP OPcache JIT by default PHP 8.3's JIT tracing mode has known memory corruption bugs that can cause recurring PHP-FPM worker crashes. Since WordPress workloads see negligible benefit from JIT, it's now disabled by default. Users who wa…
What's Changed New Features Add HTTP/3 support (#1531) @strarsis Add opt-in WordPress runtime hardening controls (#1649) @retlehs Bug Fixes Remove raw string for ansible_become_pass (#1651) @strarsis Full Changelog: https://github.com/roots/trellis/compare/v1….
What's Changed Features Ansible 2.19 support by @swalkinshaw in https://github.com/roots/trellis/pull/1620 WordPress sites git branch: Default to main by @retlehs in https://github.com/roots/trellis/pull/1629 Add Redis PHP session storage support by @retlehs i…
What's Changed Drop Vagrant support by @retlehs in https://github.com/roots/trellis/pull/1622 Remove dot in network database message by @Dyras in https://github.com/roots/trellis/pull/1621 Remove memcached_fs_file_max setting by @swalkinshaw in https://github….
What's Changed Add WordPress sites to /etc/hosts by @retlehs in https://github.com/roots/trellis/pull/1606 Set php_fpm_process_control_timeout to 10 to prevent deploy downtime by @Dyras in https://github.com/roots/trellis/pull/1603 Flush cache after deploy by …
What's Changed Update actions/checkout action to v5 by @renovate[bot] in https://github.com/roots/trellis/pull/1591 Replace deprecated distutils version usage by @swalkinshaw in https://github.com/roots/trellis/pull/1590 ✨ Add Redis object cache support by @re…
Download assets
Advanced WordPress Development Tools
Community discussion
Discussion and rating
Capture real usage experience first; ratings are optional supporting signals.