From 5cf524ecbb9b62c785e3bb9e02429e34365a0ed5 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sun, 24 Jul 2022 11:28:32 +0530 Subject: [PATCH] fix: waititing for redis --- pwd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pwd.yml b/pwd.yml index fe91e317..60579e6b 100644 --- a/pwd.yml +++ b/pwd.yml @@ -38,7 +38,9 @@ services: command: - > wait-for-it -t 120 db:3306; - wait-for-it -t 120 redis:6379; + wait-for-it -t 120 redis-cache:6379; + wait-for-it -t 120 redis-queue:6379; + wait-for-it -t 120 redis-socketio:6379; export start=`date +%s`; until [[ -n `grep -hs ^ common_site_config.json | jq -r ".db_host // empty"` ]] && \ [[ -n `grep -hs ^ common_site_config.json | jq -r ".redis_cache // empty"` ]] && \