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