Docker Compose Control Container Order with depends_on

preview_player
Показать описание
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.

Become a Better Developer

My Software

Download Code

⌛ 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
Рекомендации по теме
Комментарии
Автор

How to say good without using the g word? Very practical example and a good (here it is) explanation sir

shateq
Автор

Hi, is it possible to control the build order within the docker-compose file as well?

inhthinguyen