Strapi on my Coolify

For those wondering how to configure persistent storage for the public folder(where strapi upload stuff), follow these steps before deploying your app on Coolify.

  • Click on the Configuration tab
  • Clock on the Storages menu option
  • Click Add to add a new location to store stuff
  • Under the Volume Mount heading, enter the values for the name & destination path
  • Ensure that the destination path starts with /app. So for persisting the public folder items, the destination path should be set to /app/public
  • Click the Save button that is below the Volume Mount section.
  • Redeploy your app.
  • Go to the url and log into your Strapi app then upload something.
  • Redeploy your app
  • Log back into strapi to see if the file is still there and can be viewed in a new window