You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/digitalocean-app-platform.md
+2-94Lines changed: 2 additions & 94 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,13 +25,9 @@ Prior to starting the deployment process each user needs:
25
25
Strapi uses [environment configurations](/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.md) to maintain multiple environments inside a single application. This section describes how to setup a production environment in a Strapi application.
26
26
27
27
1. Add a production configuration environment by creating a sub-directory `./config/env/production`.
28
-
2. Create `database.js`(or `database.ts` for TypeScript projects) inside the `./config/env/production` directory.
28
+
2. Create `database.js` inside the `./config/env/production` directory.
29
29
3. Add the code snippet to the `database` configuration file:
Changing the settings on the DigitalOcean App Platform to incorporate a managed database requires creating and attaching the database to an existing Strapi application. Additionally, the database environment variables must be removed, as managed databases propagate the connection properties automatically.
0 commit comments