How to run Strapi 5 with Postgres in Docker?

This doesn’t help

It turned out to run only Postgres in Docker.

This topic has been created from a Discord post (1287787140993777726) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord

[INFO] Including the following ENV variables as part of the JS bundle:
- ADMIN_PATH
- STRAPI_ADMIN_BACKEND_URL
- STRAPI_TELEMETRY_DISABLED

Can anyone help me how to fix this?

In this video everything looks easy😀

On strapi v4, I had no deployment problems with Docker and postgresql.

Since I’ve been using Strapi v5 I’ve had this error:

can anyone help me to fix this

remove .env from .dockerignore