Make healthcheck test bypass cache.

This commit is contained in:
FireMasterK 2022-01-13 11:55:50 +00:00
parent bbd06a4124
commit 597bdfb23d
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD
2 changed files with 4 additions and 4 deletions

View File

@ -31,8 +31,8 @@ services:
depends_on:
- piped
healthcheck:
test: ash -c "wget --no-verbose --tries=1 --spider
127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/feed ||
(varnishreload && exit 1)"
interval: 10s
timeout: 10s
retries: 1

View File

@ -31,8 +31,8 @@ services:
depends_on:
- piped
healthcheck:
test: ash -c "wget --no-verbose --tries=1 --spider
127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/feed ||
(varnishreload && exit 1)"
interval: 10s
timeout: 10s
retries: 1