Deploying to azure container instances with azure PostgreSQL database

System Information
  • Strapi Version: 3.6.2
  • Operating System: macOS
  • Database: Azure Database for PostgreSQL flexible server
  • Node Version: 16.1.0
  • NPM Version: 7.11.2


I can’t get my strapi container to work with a DB. I can succesfully deploy my image without db connection. When I use an image with a db connection it fails silently though. I just want a running strapi application with a db in azure container instances.


I got this figured out, can I close a topic?

@LordTep I’m having similar issues on Azure - the containers do not seem to respect the environment variables set in azure admin. In my instance the strapi always deploys as if its in develop mode EVEN if i remove all config bar one that points to mysql.

any pointers really welcomed