Dependency calculation
Your team has split your company's primary application into multiple containers, but would like to provide some dependency information within a Docker Compose configuration. Before attempting to define this configuration, you'd like to make sure you understand the startup order of an example application.
services:
web:
image: custom_app
depends_on:
- redis
llm:
image: openai-llm:14
depends_on:
- web
forwarder:
image: fwd_proxy/latest
redis:
image: redis:latest
depends_on:
forwarder:
condition: service_healthy
This exercise is part of the course
Intermediate Docker
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
