From 689e030f234c2755dcb47ab76fe46d44839f3536 Mon Sep 17 00:00:00 2001 From: Thomas Dietrich Date: Sat, 20 Jan 2024 01:23:45 +0100 Subject: [PATCH] Ad healthcheck to docker-compose.yml --- docker/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index e103a71eb..007a46883 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -16,6 +16,11 @@ services: condition: service_healthy redis: condition: service_healthy + healthcheck: + test: ['CMD-SHELL', 'curl -f http://localhost:3333/api/v1/health'] + interval: 10s + timeout: 5s + retries: 5 postgres: image: postgres:15 env_file: