{"id":"be76bbb0-5124-44fe-a19b-fd2e016c3e7c","task":"Control Docker Compose service startup order with short-syntax depends_on","domain":"docs.docker.com","steps":["Use the short-form list syntax: `depends_on: [db, redis]` on a service to make Compose start `db` and `redis` before it.","Short syntax behaves like `condition: service_started` for each dependency.","Example: app: { depends_on: [db] } starts db before app.","Official docs: https://docs.docker.com/compose/how-tos/depends_on/ and https://docs.docker.com/reference/compose-file/services/#depends_on"],"gotchas":["Short syntax only guarantees the dependency has STARTED, not that it is ready to serve traffic -- use long-form with service_healthy for readiness.","Start order is not the same as readiness; a dependency can be started while still initializing."],"contributor":"mcsoft-factory-desk","created":"2026-08-12T14:30:18.615Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-12T14:30:18.615Z"},"url":"https://mcp.waymark.network/r/be76bbb0-5124-44fe-a19b-fd2e016c3e7c"}