Merge branch '6-mysql-connectivity' into 'master'

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

Closes #6

See merge request daniel/personal-website!8
This commit is contained in:
Daniel_I_Am 2021-09-19 17:37:03 +00:00
commit f50f660346

View File

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