Simplified docker-compose
workflow for setting up LEMP network containers for Laravel development.
First add your laravel project inside src
folder, then open up the terminal and enter :
docker-compose up -d
Now open up your browser and hit : http://localhost:8080
- nginx -
:8080
- mysql -
:3306
- php -
:9000
docker-compose exec php php artisan list
for listing the artisan commandsdocker-compose down
for stopping the running containers