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
Deze oefening maakt deel uit van de cursus
Intermediate Docker
Praktische interactieve oefening
Zet theorie om in actie met een van onze interactieve oefeningen.
Begin met trainen