services:
  foo:
    image: nginx:alpine
    command: "${COMMAND}"
    depends_on:
      - bar

  bar:
    image: nginx:alpine
    scale: 2
