compose/pkg/e2e/fixtures/attach-restart/compose.yaml

9 lines
188 B
YAML

services:
failing:
image: alpine
command: sh -c "sleep 0.1 && echo world && /bin/false"
deploy:
restart_policy:
condition: "on-failure"
max_attempts: 2