add autotest compose file

This commit is contained in:
Dmitry Belyaev 2019-08-06 12:11:41 +03:00 committed by Dmitry Belyaev
parent b462213727
commit af1abd0039
1 changed files with 11 additions and 0 deletions

11
docker-compose.test.yml Normal file
View File

@ -0,0 +1,11 @@
version: '2'
services:
proxy:
build: .
sut:
image: alpine:3.10.1
links:
- proxy
depends_on:
- proxy
command: sh -exc "apk add --update curl && sleep 5 && exec curl --proxy http://proxy:3128 -I http://google.com/"