From 4ffe2950bcfc83f2a6a778aa16cf95529bb8c23c Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sun, 18 Aug 2024 16:55:04 -0500 Subject: [PATCH] Fixes #597: speedtest container healtcheck failing. --- templates/docker-compose.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 83b6950..71dcb70 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -96,6 +96,9 @@ services: speedtest: image: miguelndecarvalho/speedtest-exporter:latest restart: always + healthcheck: + test: "wget --no-verbose --tries=1 --spider http://0.0.0.0:9798/" + timeout: 10s expose: - 9798 ports: