Specify that docker-compose.test.yml file structure is similar to docker-cloud.yml (#5417)

It seems unclear from documentation what format and other options the docker-compose.test.yml may have. By specifying that its structure is similar to docker-cloud.yml developers will get a hint of where to search for further docker-compose.test.yml specification.
This commit is contained in:
Oleksii Trekhleb 2017-11-30 23:32:54 +02:00 committed by Misty Stanley-Jones
parent 50e775a4a6
commit 79214841f3
1 changed files with 3 additions and 2 deletions

View File

@ -19,8 +19,9 @@ built images to your Docker Cloud repository, enable [Automated Builds](automate
## Set up automated test files
To set up your automated tests, create a `docker-compose.test.yml` file which
defines a `sut` service that lists the tests to be run. The
`docker-compose.test.yml` file should be located in the same directory that
defines a `sut` service that lists the tests to be run. This file has a structure
similar to the [docker-cloud.yml](https://docs.docker.com/docker-cloud/apps/stack-yaml-reference/).
The `docker-compose.test.yml` file should be located in the same directory that
contains the Dockerfile used to build the image.
For example: