Change the hostname to localhost due to containers living in same pod

This commit is contained in:
Daniel_I_Am 2021-09-19 19:32:23 +02:00
parent 0b63b8da21
commit de544d1359

View File

@ -6,8 +6,8 @@ if [ "${1#-}" != "$1" ]; then
set -- apache2-foreground "$@" set -- apache2-foreground "$@"
fi fi
while ! curl mysql:3306; do while ! curl localhost:3306; do
sleep 1 sleep 5
done done
php artisan cache:clear php artisan cache:clear