services:
running:
image: alpine
command: sleep infinity
init: true
exit:
command: /bin/true
depends_on:
condition: service_started
fail:
command: sh -c "return 111"
condition: service_completed_successfully