compose/pkg/e2e/testdata/TestUpWithDependencyExit/compose.yaml
hiroto.toyoda 385ee60741 fix(up): check a depends_on condition before the first poll tick
Signed-off-by: hiroto.toyoda <hiroto.toyoda@dena.com>
2026-10-27 11:06:08 +01:00

13 lines
236 B
YAML

services:
web:
image: alpine
init: true
command: sleep infinity
depends_on:
db:
condition: service_healthy
db:
image: alpine
command: sh -c "exit 1"
healthcheck:
test: ["CMD", "true"]