services:
ping:
image: alpine
init: true
command: ping localhost -c ${REPEAT:-1}
hello:
command: echo hello
deploy:
replicas: 2