compose/pkg/e2e/fixtures/logs-test/restart.yaml

6 lines
117 B
YAML

services:
ping:
image: alpine
command: "sh -c 'ping -c 2 localhost && exit 1'"
restart: "on-failure:2"