From ee9c53e4b1b964b6a9b6676e3ac604ce128bcd53 Mon Sep 17 00:00:00 2001 From: Pierre Gauthier Date: Tue, 3 Sep 2024 15:38:07 +0200 Subject: [PATCH] Debug premium ci error --- docker/php/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/php/docker-entrypoint.sh b/docker/php/docker-entrypoint.sh index 5886561da..a09b6272f 100755 --- a/docker/php/docker-entrypoint.sh +++ b/docker/php/docker-entrypoint.sh @@ -45,7 +45,7 @@ if [ "$1" = 'php-fpm' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then if grep -q ELASTICSEARCH_URL= .env; then echo "Waiting for search engine to be ready..." - ATTEMPTS_LEFT_TO_REACH_SEARCH=60 + ATTEMPTS_LEFT_TO_REACH_SEARCH=100 export $(grep 'ELASTICSEARCH_URL=' .env | xargs) until [ $ATTEMPTS_LEFT_TO_REACH_SEARCH -eq 0 ] || SEARCH_ERROR=$(curl -s ${ELASTICSEARCH_URL}); do sleep 1