Skip to content
All recipes
Headless CMS

Deploy Strapi

A customizable content API built from your own Strapi repository.

Why use it

Give editors a CMS while developers keep control of the content model and API.

Build plan

  1. Start from an existing Strapi 5 project and add the production multi-stage Dockerfile.
  2. Move the database to managed PostgreSQL and generate every required application secret.
  3. Install an S3 upload provider when the media library must survive a restart.

Resources and values

Resources
1 ServicePostgreSQLS3-compatible storage
Required values
DATABASE_*APP_KEYSJWT_SECRETADMIN_JWT_SECRETAPI_TOKEN_SALT
Check before you deploy

Strapi does not publish an official application image. Build the project from source and keep uploads out of the local public/uploads directory.

Ask your coding agent

Prepare this Strapi 5 repository for aidrop. Add a production multi-stage Dockerfile based on the official Strapi Docker guide, bind to 0.0.0.0 and run on port 1337. Create managed PostgreSQL, map the DATABASE_* values and generate APP_KEYS, JWT_SECRET, ADMIN_JWT_SECRET, API_TOKEN_SALT, TRANSFER_TOKEN_SALT and ENCRYPTION_KEY. If the media library is used, configure an S3-compatible upload provider over HTTPS. Deploy and verify /admin.

Put Strapi online

Connect your coding agent, paste the quickstart and keep the build, runtime and public address in one aidrop Project.

7 days free · No credit card required