cp .env.example .env
docker-compose up -d --build
docker-compose run php php composer.phar install
docker-compose run php php artisan migrate:fresh --seed
Common error is permission on the storage folder
sudo chmod -R 766 storage/
Access the server as http://localhost, remembering that port 80 must be open.
If you want to change the port, you must change the .env file and the docker-compose.yml.
If you do the test it will clean the database. So you have to run the migration again.
sudo docker-compose run php php vendor/bin/phpunit