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