- Run
docker-compose up -d
- Open container terminal by running
docker exec -it laravel-fresh bash
- Install laravel inside of container by running
composer create-project laravel/laravel Laravel
- Move laravel
mv ./Laravel/* ./ && rm -rf Laravel
- Go to: http://localhost:8080
- Open
Dockerfile
fromdocker
directory and change the variablePHP_VERSION
- Open
fpm-pool.conf
fromdocker/linux
directory and change the socket version - Open
supervisord.conf
fromdocker/linux
directory and change thephp-fpm8.3
to your version - Restart docker
docker-compose restart