From d8d8c28cdcf15362ec97cdc086137aec8e956c96 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Thu, 20 Jun 2024 23:55:22 -0300 Subject: [PATCH] test healthcheck --- searxng-docker/docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/searxng-docker/docker-compose.yml b/searxng-docker/docker-compose.yml index 9a22279..c54c5b6 100755 --- a/searxng-docker/docker-compose.yml +++ b/searxng-docker/docker-compose.yml @@ -44,5 +44,9 @@ services: options: max-size: "1m" max-file: "1" + healthcheck: + test: ["CMD", "http://localhost:8080 || exit 1"] + interval: 10s + timeout: 3s networks: searxng: \ No newline at end of file