# For examples, see the Awesome Compose repository: # https://github.com/docker/awesome-compose services: test: image: docs-v2-tests container_name: docs-v2-tests profiles: - test volumes: - type: bind source: ./test target: /usr/src/app/test - type: bind source: ./data target: /usr/src/app/test/data build: context: . dockerfile: test.Dockerfile args: - SOURCE_DIR=test - DOCKER_IMAGE=docs-v2-tests