IniziaInizia gratis

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

Questo esercizio fa parte del corso

Intermediate Docker

Visualizza il corso

Esercizio pratico interattivo

Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi

Inizia esercizio