π¨π»βπ» I made DevPayHub for solo devs. Payments & users handled.
https://devpayhub.com
Learn how to control Docker container startup and shutdown order with the Docker Compose depends_on and healthcheck attributes. To demonstrate, we will connect a Node Docker container to a Postgres Docker container.
π My Courses
https://www.udemy.com/user/wittcode/
π» My Software
https://chromewebstore.google.com/search/wittcode
π¨βπ» Download Code
https://wittcode.com
β Timestamps
0:00 - Introduction
0:14 - Project Overview
0:39 - depends_on
0:48 - depends_on Short Syntax
2:09 - depends_on Long Syntax and service_healthy
2:49 - healthcheck
3:54 - Outro
Download
0 formats
No download links available.
Docker Compose Control Container Order with depends_on | NatokHD