云项目设置
🌐 Cloud project settings
Page summary:设置区域涵盖项目级别的控制(通用、账单与发票、计划)以及每个环境的配置。
在所选项目的仪表板中,位于页眉的 设置按钮使你能够管理你的 Strapi Cloud 项目及其环境的配置和设置。
界面左侧的设置菜单分为两类:整个项目的设置以及针对项目中配置的任何环境的特定设置。
🌐 The settings' menu on the left side of the interface is separated into 2 categories: the settings for the entire project and the settings specific to any configured environment for the project.
项目级设置
🌐 Project-level settings
项目设置有4个可用的标签页:
🌐 There are 4 tabs available for the project settings:
一般
🌐 General
项目级设置的 常规选项卡使你能够检查和更新项目的以下选项:
- 基本信息,请参见:
- Strapi CMS 许可证密钥:用于在你的云项目上直接启用和使用某些 CMS 功能(请参阅定价页面购买许可证)。
- 已连接的 Git 仓库:用于更改你项目使用的仓库和分支(参见 修改 git 仓库和分支)。还可以让你启用/禁用“推送时部署”选项。
- 危险区域,与:
- 转移所有权:项目所有者将云项目的所有权转移给已存在的维护者(参见转移项目所有权)。
- 删除项目:永久删除你的 Strapi Cloud 项目(参见 删除 Strapi Cloud 项目)。

重命名项目
🌐 Renaming project
项目名称在项目创建时设置(参见 项目创建),之后可以通过项目设置进行修改。
🌐 The project name is set at project creation (see Project creation) and can be modified afterwards via the project settings.
- 在 常规选项卡的基本信息部分,点击 编辑按钮。
- 在对话框中,在项目名称文本框中写上你选择的新项目名称。
- 点击 重命名 按钮以确认项目名称的修改。
添加 CMS 许可证密钥
🌐 Adding a CMS license key
可以将 CMS 许可证密钥添加并连接到 Strapi Cloud 项目,以解锁整个项目环境中的额外 Strapi CMS 功能。通过许可证密钥可访问的 CMS 功能取决于所购买的许可证类型。有关更多信息和/或购买许可证,请参阅 Strapi Pricing page 。
如果你没有看到 Strapi CMS 许可密钥 部分,这可能意味着你的订阅是旧版订阅 ,并且不支持自定义 CMS 许可。这意味着你已经拥有一个会自动包含在你的项目中的许可。
🌐 If you don't see the Strapi CMS license key section, it probably means that your subscription is a legacy one and does not support custom CMS licenses. It means that you already have one that is automatically included on your project.
- 在 Strapi CMS 许可密钥 部分,点击 添加许可 按钮。
- 在对话框中,将你的许可密钥粘贴到字段中。
- 点击 保存并部署 按钮以使更改生效。
要从你的 Strapi Cloud 项目中移除 Strapi CMS 许可证,你可以点击 取消关联许可证 按钮。这也将移除对之前添加的许可证中包含的 CMS 功能的访问和使用权限。
🌐 To remove the Strapi CMS license from your Strapi Cloud project, you can click on the Unlink license button. This will also remove access and usage to the CMS features included in the previously added license.
许可证密钥已应用于项目中的所有环境。
🌐 The license key is applied to all the environments in the project.
修改 git 仓库和分支
🌐 Modifying git repository & branch
Strapi Cloud 项目的 GitHub 或 GitLab 仓库、分支和基础目录默认在创建项目时选择(参见 创建项目)。在项目创建后,可以通过项目设置更新项目仓库或 切换到其他 Git 提供商。
🌐 The GitHub or GitLab repository, branch and base directory for a Strapi Cloud project are by default chosen at the creation of the project (see Creating a project). After the project's creation, via the project settings, it is possible to update the project repository or switch to another git provider.
更新 git 仓库可能导致项目及其数据的丢失,例如如果选择了错误的仓库或旧仓库与新仓库之间的数据结构不匹配。
🌐 Updating the git repository could result in the loss of the project and its data, for instance if the wrong repository is selected or if the data schema between the old and new repository doesn't match.
-
在 常规选项卡的已连接的 Git 仓库部分,点击更新仓库按钮。你将被重定向到另一个界面。
-
(可选)如果你希望不仅更新仓库,还想切换到另一个 git 提供商,请点击界面右上角的 切换 Git 提供商 按钮。在返回 更新仓库 界面之前,你将被重定向到所选 git 提供商的授权设置。
-
在更新仓库部分,填写两个可用的设置:
| 设置名称 | 使用说明 | | --------------- | ------------------------------------------------------------------------ | | 账户 | 从下拉列表中选择一个账户。 | | 仓库 | 从下拉列表中选择一个仓库。 |
-
在 选择 Git 分支 部分,为你的任何环境填写可用设置。请注意,每个环境的分支可以通过其自身的设置进行编辑,参见 常规(环境)。
| 设置名称 | 说明 | | --------------- | ------------------------------------------------------------------------ | | 分支 | 从下拉列表中选择一个分支。 | | 基本目录 | 在文本框中填写基本目录的路径。 | | 自动部署 | 勾选该框以在向所选分支推送新提交时自动触发新部署。取消勾选以禁用此选项。 |
-
点击 保存并部署 按钮以使更改生效。
转移项目所有权
🌐 Transferring project ownership
Strapi Cloud 项目的所有权可以转让给其他用户,只要他们是该项目的维护者。这可以由当前项目所有者主动发起,也可以由项目维护者提出请求。一旦所有权转让完成,该转让将是永久的,直到新所有者决定再次将所有权转让给另一位维护者。
🌐 The ownership of the Strapi Cloud project can be transferred to another user, as long as they're a maintainer of the project. It can either be at the initiative of the current project owner, or can be requested by a project maintainer. Once the ownership is transferred, it is permanent until the new owner decides to transfer the ownership again to another maintainer.
要转让项目的所有权,必须满足以下要求:
🌐 For the ownership of a project to be transferred, the following requirements must be met:
- 该项目当前不得有过期的卡和/或未支付的账单。
- 维护者必须已经填写了他们的账单信息。
- 该项目不得有任何现有的所有权转让在进行中。
请注意,当在订阅续订的同一天(即每月的1日)进行所有权转让时,转让可能会失败。如果当天转让失败,但所有先决条件已满足,你应等待几小时后再尝试。
🌐 Note that ownership transfers might fail when done the same day of subscription renewal (i.e. 1st of every month). If the transfer fails that day, but all prerequisites are met, you should wait a few hours and try again.
- 在 常规选项卡的危险区域部分,点击转移所有权按钮。
- 在对话中:
- 如果你是项目拥有者:通过点击其名字旁的 ... > 转让所有权 来选择应被转让所有权的维护者。
- 如果你是维护者:在列表中找到自己,然后点击与你的名字相关的 ... > 转让所有权。
- 在新对话框中点击 转移所有权 按钮以确认转移/请求。
一封电子邮件将发送给两位用户。需要转让所有权或继承的人员必须点击电子邮件中的 确认转让 按钮。完成后,前所有者将收到一封确认电子邮件,确认转让已成功完成。
🌐 An email will be sent to both users. The person who needs to transfer the ownership or inherit it will have to click on the Confirm transfer button in the email. Once done, the previous owner will receive a confirmation email that the transfer has successfully been done.
只要所有权转移或请求尚未确认,就可以在选择维护者的同一对话框中选择取消。
🌐 As long as the ownership transfer or request hasn't been confirmed, there is the option to cancel in the same dialog that the maintainer was chosen.
一旦所有权转移完成,项目将与 Strapi Cloud 断开连接。作为新所有者,请确保前往项目设置的 常规选项卡以重新连接项目。
删除 Strapi Cloud 项目
🌐 Deleting a Strapi Cloud project
你可以删除任何 Strapi Cloud 项目,但这是永久且不可逆的。相关的域名、部署和数据将被删除,项目的订阅将自动取消。
🌐 You can delete any Strapi Cloud project, but it will be permanent and irreversible. Associated domains, deployments and data will be deleted and the subscription for the project will automatically be canceled.
- 在 常规选项卡的危险区域部分,点击删除项目按钮。
- 在对话框中,选择删除项目的原因。
- 通过点击 删除项目 按钮来确认删除你的项目。
环境
🌐 Environments
ProThis feature is available with a Strapi Cloud Pro plan. BusinessThis feature is available with a Strapi Cloud Business plan.环境 标签允许你查看 Strapi Cloud 项目中配置的所有环境,也可以创建新的环境。生产环境是默认环境,无法删除。根据你的项目订阅计划,你可以创建其他环境,以便在隔离的 Strapi Cloud 实例上更安全地工作(例如,一个测试环境,在正式上线前可以先进行测试)。

你购买的附加环境的计费周期将与你的计划计费周期相匹配。
🌐 The billing cycle of additional environments you purchase will match the billing cycle of your plan.
要创建一个新环境:
🌐 To create a new environment:
-
点击 添加新环境 按钮。
-
在设置步骤中,填写可用的设置:
| 设置名称 | 说明 | | ---------------- | ------------------------------------------------------------------------ | | 环境名称 | (必填)为你的项目新环境写一个名称。 | | Git 分支 | (必填)为你的新环境选择正确的分支。 | | 基础目录 | 写入你的新环境的基础目录名称。 | | 推送时部署 | 勾选此框以在向所选分支推送更改时自动触发部署。若未启用,则需要手动部署最新更改。 | | 导入变量 | 勾选此框从现有环境导入变量名称。值不会被导入,所有变量将保持为空。 |
-
点击 确认 以继续到结账步骤。
-
查看环境价格、适用税费和按比例调整。
-
点击 添加环境 按钮以创建项目的新环境。然后,你将被重定向到你的 项目仪表板,在那里你可以跟踪新环境的创建和首次部署。
如果在环境创建过程中发生错误,进度指示器将停止并显示错误消息。你将在失败步骤旁看到一个重试按钮,允许你重新启动创建过程。
🌐 If an error occurs during the environment creation, the progress indicator will stop and display an error message. You will see a Retry button next to the failed step, allowing you to restart the creation process.
账单与发票
🌐 Billing & Invoices
“ 账单与发票”标签显示你的订阅详情以及你 Strapi Cloud 项目的所有发票清单。
只有项目所有者可以访问账单与发票选项卡。维护者无法访问此选项卡。
🌐 Only project owners can access the Billing & Invoices tab. Maintainers do not have access to this tab.
通过此标签,你可以:
🌐 Through this tab, you can:
你可以通过直接从此页面选择支付方式,将专用卡附加到你的项目,从而使用不同的卡管理你的订阅。
🌐 You can attach a dedicated card to your project by choosing the payment method directly from this page, allowing you to manage your subscriptions with different cards.

该选项卡还列出了你 Strapi Cloud 项目的所有发票及其状态。