Skip to content

Commit f7955ea

Browse files
Strapi Cloud: Node version feature (#1978)
* Document Node version feature in deployment guide * Update advanced settings screenshots
1 parent 462f718 commit f7955ea

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

docusaurus/docs/cloud/getting-started/deployment.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ Before you can deploy your Strapi application on Strapi Cloud, you need to have
157157
| Setting name | Instructions |
158158
|--------------|---------------------------------------------------------------------------------------------------------|
159159
| Base directory | Write the name of the directory where your Strapi app is located in the repository. This is useful if you have multiple Strapi apps in the same repository or if you have a monorepo. |
160-
| Variables | Click on **Add variable** to add environment variables used to configure your Strapi app (see [Environment variables](/dev-docs/configurations/environment/) for more information). You can also add environment variables to your Strapi application by adding a `.env` file to the root of your Strapi app directory. The environment variables defined in the `.env` file will be used by Strapi Cloud. |
160+
| Environment variables | Click on **Add variable** to add environment variables used to configure your Strapi app (see [Environment variables](/dev-docs/configurations/environment/) for more information). You can also add environment variables to your Strapi application by adding a `.env` file to the root of your Strapi app directory. The environment variables defined in the `.env` file will be used by Strapi Cloud. |
161+
| Node version | Choose a Node version from the drop-down. Default Node version will automatically be chosen to best match the version of your Strapi project. If you manually choose a version that doesn't match with your Strapi project, the build will fail but the explanation will be displayed in the build logs. |
161162

162163
:::strapi Using Environment Variables
163164
You can use environment variable to connect your project to an external database rather than the default one used by Strapi Cloud (see [database configuration](/dev-docs/configurations/database#environment-variables-in-database-configurations) for more details). If you would like to revert and use Strapi's default database again, you have to remove your `DATABASE_` environment variables (no automatic migration implied).
18.2 KB
Loading
16.8 KB
Loading

0 commit comments

Comments
 (0)