mirror of
https://github.com/TeamPiped/Piped-Docker.git
synced 2024-08-14 23:56:53 +00:00
Make healthcheck test bypass cache.
This commit is contained in:
parent
bbd06a4124
commit
597bdfb23d
2 changed files with 4 additions and 4 deletions
|
@ -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 a new issue