From 597bdfb23d707efe0aa3e597794508578bd97215 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Thu, 13 Jan 2022 11:55:50 +0000 Subject: [PATCH] Make healthcheck test bypass cache. --- template/docker-compose.caddy.yml | 4 ++-- template/docker-compose.nginx.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/template/docker-compose.caddy.yml b/template/docker-compose.caddy.yml index 5da0875..761eb49 100644 --- a/template/docker-compose.caddy.yml +++ b/template/docker-compose.caddy.yml @@ -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 diff --git a/template/docker-compose.nginx.yml b/template/docker-compose.nginx.yml index 6540935..1de3039 100644 --- a/template/docker-compose.nginx.yml +++ b/template/docker-compose.nginx.yml @@ -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