mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-12-12 21:30:41 +05:30
Make healthcheck test bypass cache.
This commit is contained in:
parent
bbd06a4124
commit
597bdfb23d
@ -31,8 +31,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- piped
|
- piped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ash -c "wget --no-verbose --tries=1 --spider
|
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/feed ||
|
||||||
127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
|
(varnishreload && exit 1)"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 1
|
retries: 1
|
||||||
|
@ -31,8 +31,8 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- piped
|
- piped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ash -c "wget --no-verbose --tries=1 --spider
|
test: ash -c "wget --no-verbose --tries=1 --spider 127.0.0.1:80/feed ||
|
||||||
127.0.0.1:80/trending?region=US || (varnishreload && exit 1)"
|
(varnishreload && exit 1)"
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 1
|
retries: 1
|
||||||
|
Loading…
Reference in New Issue
Block a user