- Line 6 to your current linux username
- Line 8 to Php version you want
- Line 22 to Mysql version you want
- docker-compose build && docker-compose up -d
- docker-compose exec app composer create-project --prefer-dist laravel/laravel .
- sudo chmod -R 775 .
- sudo chown -R www-data:www-data .
- DB_CONNECTION=mysql
- DB_HOST=db
- DB_PORT=3306
- DB_DATABASE=homestead
- DB_USERNAME=homestead
- DB_PASSWORD=secret
- URL: http://localhost:8081/
- Server: host.docker.internal
- Username: homestead
- Password: secret