services:
  foo:
    image: bash
    volumes:
      - ${SOURCE:-/dev/null}:/tmp/foo:ro