Closed cage81 closed 5 months ago
1.29
11.1.1
8.3.4
Windows (WSL)
Ubuntu 22.04
On a fresh Laravel 11 installation, the main page is not reachable showing the following error:
It coulb be a bug, the reasolution I found un an old post is to change the .env file adding this line:
DB_HOST=host.docker.internal
I changed the following things in the docker-compose.yml before the sail build command:
service name form laravel.locale to project-name.locale laravel service port from 80 to 8280 mysql service name from mysql to *projectname-mysql**
composer create-project laravel/laravel:^11.0 project-name
composer require laravel/sail --dev
php artisan sail:install
sail up -d
Using your exact steps, together with sail artisan migrate, I get a running Laravel app. Most likely this was a temp hiccup.
sail artisan migrate
Sail Version
1.29
Laravel Version
11.1.1
PHP Version
8.3.4
Operating System
Windows (WSL)
OS Version
Ubuntu 22.04
Description
On a fresh Laravel 11 installation, the main page is not reachable showing the following error:
It coulb be a bug, the reasolution I found un an old post is to change the .env file adding this line:
DB_HOST=host.docker.internal
I changed the following things in the docker-compose.yml before the sail build command:
service name form laravel.locale to project-name.locale laravel service port from 80 to 8280 mysql service name from mysql to *projectname-mysql**
Steps To Reproduce