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 does the app container find the MySQL container?
How does the app container find the MySQL container? Compose puts both on one network with DNS by service name, so the app connects to host db. depends_on: service_healthy waits until MySQL answers.

Lesson: 57.2 Project 2: Todo app with Node.js and MySQL (Docker getting-started style) · मराठी card