Skip to content

Commit

Permalink
Merge pull request #2278 from strapi/enh/moveCloudWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickmehaffy authored Nov 1, 2024
2 parents 204df56 + 2050c7d commit 54c3f91
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 15 deletions.
9 changes: 4 additions & 5 deletions docusaurus/docs/cloud/advanced/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,12 @@ While it's possible to use an external database with Strapi Cloud, you should do
- Strapi can't provide security or support with external databases used with Strapi Cloud.
:::


## Configuration

:::caution
To ensure a smooth deployment, it is recommended to not change the names of the environment variables.
:::

The project `./config/database.js` or `./config/database.ts` file must match the configuration found in the [environment variables in database configurations](https://docs.strapi.io/dev-docs/configurations/database#environment-variables-in-database-configurations) section.

Before pushing changes, add environment variables to the Strapi Cloud project:
Expand All @@ -54,10 +57,6 @@ Before pushing changes, add environment variables to the Strapi Cloud project:

4. Click **Save**.

:::caution
To ensure a smooth deployment, it is recommended to not change the names of the environment variables.
:::

## Deployment

To deploy the project and utilize the external database, push the changes from earlier. This will trigger a rebuild and new deployment of the Strapi Cloud project.
Expand Down
10 changes: 5 additions & 5 deletions docusaurus/docs/cloud/advanced/email.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ Using either `npm` or `yarn`, install the provider plugin in your local Strapi p

### Configure the Provider

In your Strapi project, create a `./config/env/production/plugins.js` or `./config/env/production/plugins.ts` file with the following content:
:::caution
The file structure must match the below path **exactly**, or the configuration will not be applied to Strapi Cloud.
:::

To configure a 3rd-party email provider in your Strapi project, create or edit the plugins configuration file for your production environment `./config/env/production/plugins.js|ts` by adding upload configuration options as follows:

<Tabs groupId="js-ts">
<TabItem value="js" label="JavaScript">
Expand Down Expand Up @@ -84,10 +88,6 @@ export default ({ env }) => ({

</Tabs>

:::caution
The file structure must match the above path exactly, or the configuration will not be applied to Strapi Cloud.
:::

Each provider will have different configuration settings available. Review the respective entry for that provider in the [Marketplace](https://market.strapi.io/providers).

**Example:**
Expand Down
8 changes: 4 additions & 4 deletions docusaurus/docs/cloud/advanced/upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Using either `npm` or `yarn`, install the provider plugin in your local Strapi p

### Configure the Provider

:::caution
The file structure must match the below path **exactly**, or the configuration will not be applied to Strapi Cloud.
:::

To configure a 3rd-party upload provider in your Strapi project, create or edit the plugins configuration file for your production environment `./config/env/production/plugins.js|ts` by adding upload configuration options as follows:

<Tabs groupId="js-ts">
Expand Down Expand Up @@ -85,10 +89,6 @@ upload: {
</TabItem>
</Tabs>

:::caution
The file structure must match the above path exactly, or the configuration will not be applied to Strapi Cloud.
:::

Each provider will have different configuration settings available. Review the respective entry for that provider in the [Marketplace](https://market.strapi.io/providers).

**Example:**
Expand Down
2 changes: 1 addition & 1 deletion docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
]
},
"engines": {
"node": ">=16.14 <20"
"node": ">=16.14 <=20"
}
}

0 comments on commit 54c3f91

Please sign in to comment.