services: oneshot: image: alpine command: echo 'hello world' longrunning: image: alpine init: true depends_on: oneshot: condition: service_completed_successfully command: sleep infinity