2017-06-28 13:57:58 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
2017-07-14 17:05:42 +00:00
|
|
|
integration-tests:
|
2017-06-28 13:57:58 +00:00
|
|
|
build: ./test/integration
|
2017-07-13 22:25:11 +00:00
|
|
|
command: ./node_modules/.bin/mocha --compilers ts:ts-node/register --recursive test/integration
|
2017-06-28 13:57:58 +00:00
|
|
|
volumes:
|
|
|
|
- ./:/usr/src
|
|
|
|
networks:
|
|
|
|
- example-network
|
|
|
|
|
2017-07-14 17:05:42 +00:00
|
|
|
nginx-tests:
|
2017-06-28 13:57:58 +00:00
|
|
|
image: nginx:alpine
|
|
|
|
volumes:
|
2017-07-16 14:19:44 +00:00
|
|
|
- ./example/nginx/html:/usr/share/nginx/html
|
2017-06-28 13:57:58 +00:00
|
|
|
- ./example/nginx/ssl:/etc/ssl
|
|
|
|
- ./test/integration/nginx.conf:/etc/nginx/nginx.conf
|
|
|
|
expose:
|
|
|
|
- "8080"
|
|
|
|
depends_on:
|
|
|
|
- authelia
|
|
|
|
networks:
|
|
|
|
example-network:
|
|
|
|
aliases:
|
|
|
|
- home.test.local
|
|
|
|
- secret.test.local
|
|
|
|
- secret1.test.local
|
|
|
|
- secret2.test.local
|
|
|
|
- mx1.mail.test.local
|
|
|
|
- mx2.mail.test.local
|
|
|
|
- auth.test.local
|