From 55175da3167801db96d505e58ef1eb3a3b0aa386 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 3 Dec 2019 19:38:49 +0100 Subject: [PATCH] Wait longer for DB --- .deploy/docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.deploy/docker/entrypoint.sh b/.deploy/docker/entrypoint.sh index 1e46c027fb..df61e6e146 100755 --- a/.deploy/docker/entrypoint.sh +++ b/.deploy/docker/entrypoint.sh @@ -50,7 +50,7 @@ if [[ -z "$DB_PORT" ]]; then fi fi if [[ ! -z "$DB_PORT" ]]; then - $FIREFLY_PATH/.deploy/docker/wait-for-it.sh "${DB_HOST}:${DB_PORT}" -- echo "db is up. Time to execute artisan commands" + $FIREFLY_PATH/.deploy/docker/wait-for-it.sh "${DB_HOST}:${DB_PORT}" -t 60 -- echo "DB is up. Time to execute artisan commands" fi #env $(grep -v "^\#" .env | xargs) php artisan cache:clear