From 6cd7ec529bc5de592cb7c4702d4726704f18e6b3 Mon Sep 17 00:00:00 2001 From: radex Date: Fri, 18 Aug 2023 15:27:56 +0200 Subject: [PATCH] docker-compose: change postgres healthcheck interval to 1s --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5f0919b..62e6033 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,8 +10,8 @@ services: healthcheck: #CHANGE 1: this command checks if the database is ready, right on the source db server test: [ "CMD-SHELL", "pg_isready" ] - interval: 5s - timeout: 5s + interval: 1s + timeout: 1s retries: 5 web: