diff options
Diffstat (limited to 'example/docker-compose.integration-tests.yml')
-rw-r--r-- | example/docker-compose.integration-tests.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/example/docker-compose.integration-tests.yml b/example/docker-compose.integration-tests.yml new file mode 100644 index 0000000..074f4d1 --- /dev/null +++ b/example/docker-compose.integration-tests.yml | |||
@@ -0,0 +1,16 @@ | |||
1 | version: '3' | ||
2 | services: | ||
3 | tests: | ||
4 | build: | ||
5 | context: . | ||
6 | dockerfile: Dockerfile.integration-tests | ||
7 | volumes: | ||
8 | - "./integration-tests:/integration-tests" | ||
9 | - "./screenshots:/screenshots" | ||
10 | command: "wait-for-it.sh app:80 -- mocha --recursive /integration-tests" | ||
11 | links: | ||
12 | - app | ||
13 | app: | ||
14 | image: tutum/hello-world | ||
15 | expose: | ||
16 | - "80" | ||