compose/tests/fixtures/restart/docker-compose.yml

15 lines
238 B
YAML

version: "2"
services:
never:
image: busybox
restart: "no"
always:
image: busybox
restart: always
on-failure:
image: busybox
restart: on-failure
on-failure-5:
image: busybox
restart: "on-failure:5"