In order to run the backend on Docker, you will have to run Docker on your device (linux, mac or windows with WSL enabled)
docker run --rm \ -u "$(id -u):$(id -g)" \ -v $(pwd):/var/www/html \ -w /var/www/html \ laravelsail/php80-composer:latest \ composer install --ignore-platform-reqs
sail
alias using alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
else you'd have to always call ./vendor/bin/sail
sail up
to startsail down
to stopSee Sail Guide for more information about using Sail.
sail
type cd $(pwd)
such that getcwd() symlinking will work properly again.composer install
.env.example
to .env
.env
file correctly (url, database credentials, redis credentials, etc...)php artisan serve