Add a wait check for mysql connectivity
This commit is contained in:
parent
7925576697
commit
0b63b8da21
@ -6,6 +6,10 @@ if [ "${1#-}" != "$1" ]; then
|
||||
set -- apache2-foreground "$@"
|
||||
fi
|
||||
|
||||
while ! curl mysql:3306; do
|
||||
sleep 1
|
||||
done
|
||||
|
||||
php artisan cache:clear
|
||||
php artisan config:cache
|
||||
php artisan route:cache
|
||||
|
||||
Loading…
Reference in New Issue
Block a user