diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 3052127..4686c9f 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -6,8 +6,8 @@ if [ "${1#-}" != "$1" ]; then set -- apache2-foreground "$@" fi - while ! curl mysql:3306; do - sleep 1 + while ! curl localhost:3306; do + sleep 5 done php artisan cache:clear