From 5f8fd79a4ce37fb88f9cb3b974acb38e4f264e7b Mon Sep 17 00:00:00 2001 From: pushrbx Date: Mon, 5 Jun 2023 20:32:30 +0100 Subject: [PATCH] wip docker-compose --- docker-compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index e6216b1..8fdacb3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -106,3 +106,7 @@ services: - typesense-data:/data ports: - "8108/tcp" + healthcheck: + test: [ 'CMD-SHELL', 'curl', '-s', '-f', 'http://localhost:8108/health' ] + interval: 5s + timeout: 2s