2020-10-04 14:18:04 +00:00
|
|
|
version: '2.3'
|
2019-08-06 09:11:41 +00:00
|
|
|
services:
|
|
|
|
proxy:
|
2023-03-01 12:34:59 +00:00
|
|
|
image: "${TEST_TAG}"
|
2020-10-03 15:49:14 +00:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD", "sh", "-exc", "squidclient -T 3 mgr:info 2> /dev/null | grep -qF '200 OK'"]
|
|
|
|
interval: 5s
|
|
|
|
timeout: 3s
|
|
|
|
retries: 5
|
|
|
|
start_period: 1s
|
2019-08-06 09:11:41 +00:00
|
|
|
sut:
|
2023-03-01 12:34:59 +00:00
|
|
|
image: "${TEST_TAG}"
|
2019-08-06 09:11:41 +00:00
|
|
|
links:
|
|
|
|
- proxy
|
|
|
|
depends_on:
|
|
|
|
- proxy
|
2020-10-03 15:49:14 +00:00
|
|
|
command: sh -exc "sleep 10 && squidclient -h proxy -T 3 'https://postman-echo.com/get?squidtest=ok' 2> /dev/null | grep -qF '200 OK'"
|
2023-03-01 12:34:59 +00:00
|
|
|
|