Back to Browse

Docker Compose Control Container Order with depends_on

1.7K views
Apr 17, 2024
4:17

πŸ‘¨πŸ»β€πŸ’» 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