Trellis
介绍
用于搭建 WordPress LEMP 栈的 Ansible playbook 集合,覆盖本地开发、生产服务器和 Bedrock 网站零停机部署。
- 适合谁
- WordPress 开发者、运维、代理商
- 使用门槛
- 低,需配置环境
- 支持平台
- Docker、CLI、Node.js
- 部署方式
- 自托管
Ansible 驱动的 WordPress LEMP 栈
赞助我们
Roots 是一个独立的开源组织,仅由像你一样的开发者支持。你的赞助资金将用于 WP Packages 和整个 Roots 生态系统,并保持它们的独立性。通过购买 Radicle 或 在 GitHub 上赞助我们 来支持我们——赞助商可以访问我们的私人 Discord。
赞助商
概览
Trellis 是一个 Ansible playbooks 集合,用于搭建 WordPress LEMP 栈。
- 使用 Lima 虚拟机搭建本地开发环境
- 高性能生产环境服务器
- 为基于 Bedrock 的 WordPress 网站提供零停机部署
- trellis-cli 便于管理
入门指南
请参阅 Trellis 安装文档。
社区
关注开发进度和社区动态。
- 在 GitHub 上赞助我们即可加入 Discord 频道
- 加入 Roots Discourse
- 关注 Twitter 上的 @rootswp
- 关注 Roots 博客
- 订阅 Roots 简报
源码获取
获取代码
复制仓库地址、使用 GitHub CLI,或下载当前默认分支源码包。
GitHub Releases
v1.31.1
最新 GitHub Release 发布于 ,当前页面已同步版本入口、更新说明和可下载资产。
相关入口
近期 Release
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…
下载资产
继续比较
相关资源
同专题 · 编程开发 · API / SDK
LangChain
主流 LLM 应用开发框架和 LangSmith/LangGraph 生态入口。
同专题 · 知识库 / RAG · API / SDK
LlamaIndex
面向数据连接、RAG 和 Agent 工作流的主流开发框架。
同专题 · 编程开发 · 在线平台
Hugging Face
全球最大的 AI 模型、数据集和 Spaces 社区之一。
同专题 · 工作流自动化 · 在线平台
Dify
Dify 是开源 LLM 应用平台,适合搭建聊天应用、Agent 流程和模型接入层。
社区讨论
讨论与评分
先沉淀真实使用经验,评分作为可选信号补充。