Wait longer for DB

This commit is contained in:
James Cole 2019-12-03 19:38:49 +01:00
parent 916aff425a
commit 55175da316
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -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