How to deploy Strapi with PostgreSQL

This tutorial show you how to deploy Strapi with PostgreSQL in a few steps

This tutorial is linked to this Strapi tutorial

This is a step-by-step guide for deploying a Strapi project on Qovery.

Deploying with the web interface

  1. Create a Qovery Account

    Visit the Qovery dashboard to create an account if you don't already have one.

  2. Create a new project

    Strapi

  3. Create a new environment

    Strapi

  4. Create a new application

    Select your Github, Gitlab or Bitbucket repository where your Strapi app is located:

    Migrate from Heroku

    After the application is created:

    • Navigate application settings
    • Select Port
    • Add port used by our Strapi application

    Microservices

    This will expose your application and make accessible in the public internet.

  5. Deploy a database

    Create and deploy a new database PostgreSQL database

    To learn how to do it, you can follow this guide

  6. Add storage

    To add storage, go to your Strapi application Settings:

    Add Storage

  7. Setup your Strapi configuration:

    To use PostgreSQL provided by Qovery, you can use the built-in secrets and environment variables. You can read more about environment variables and secrets in our configuration section.

  8. Deploy your application

    All you have to do now is to navigate to your application and click Deploy button

    Deploy App

    That's it. Watch the status and wait till the app is deployed.

    To open the application in your browser, click on Action and Open buttons in your application overview:

    Open App

Tutorial