From 212e58bc92cf79f094e1cc3a45cb7f954898db65 Mon Sep 17 00:00:00 2001 From: Stavros Iliopoulos Date: Sun, 13 Aug 2023 20:55:59 +0300 Subject: [PATCH] Update docker-compose.yml --- apps/tandoor/docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/tandoor/docker-compose.yml b/apps/tandoor/docker-compose.yml index d1a6b362..9a611433 100644 --- a/apps/tandoor/docker-compose.yml +++ b/apps/tandoor/docker-compose.yml @@ -60,3 +60,9 @@ services: restart: unless-stopped networks: - tipi_main_network + healthcheck: + test: ["CMD-SHELL", "pg_isready", "-d", "tandoor"] + interval: 10s + timeout: 5s + retries: 5 + start_period: 30s