- nginx
- postgres
- php
- Install docker.
- Install docker composer
- Run
docker run --rm -v $(pwd):/app composer/composer install
- Run
docker-compose up
- Run
cp .env.example .env
- Run
docker-compose exec app php artisan key:generate
docker-compose exec app php artisan optimize
- Final step. Run
docker-compose up
- The application will now be ready to use go ahead and hit http://localhost in your browser and you’ll presented with this lovely screen.