Add integration tests
This commit is contained in:
parent
d7c9192ebb
commit
68ae92e4bf
6 changed files with 392 additions and 83 deletions
32
docker-compose.test.yml
Normal file
32
docker-compose.test.yml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
services:
|
||||
vol1:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./tests/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- vol1_data:/data
|
||||
ports:
|
||||
- "3101:80"
|
||||
entrypoint: ["/bin/sh", "-c", "chown nginx:nginx /data && exec nginx -g 'daemon off;'"]
|
||||
|
||||
vol2:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./tests/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- vol2_data:/data
|
||||
ports:
|
||||
- "3102:80"
|
||||
entrypoint: ["/bin/sh", "-c", "chown nginx:nginx /data && exec nginx -g 'daemon off;'"]
|
||||
|
||||
vol3:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./tests/nginx.conf:/etc/nginx/conf.d/default.conf
|
||||
- vol3_data:/data
|
||||
ports:
|
||||
- "3103:80"
|
||||
entrypoint: ["/bin/sh", "-c", "chown nginx:nginx /data && exec nginx -g 'daemon off;'"]
|
||||
|
||||
volumes:
|
||||
vol1_data:
|
||||
vol2_data:
|
||||
vol3_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue