Ravi Sir's Cards › Chapter 57: Docker Projects Part 1: Websites, Databases, LAMP, LEMP, WordPress, 3-Tier and Every Language with MySQL and MongoDB
How do you isolate the database in Compose?
How do you isolate the database in Compose? Put it only on an internal back network with the API, publish no port, and let nginx proxy /api. Only the web container is reachable from outside.

Lesson: 57.16 Project 16: 3-tier app: React frontend, Node.js API and PostgreSQL · मराठी card