Simplified dockerized laravel application
Download and install docker in your system. Download here
Install composer if you haven't here: Composer
Fork this project and clone in your system. Current version of laravel is 5.7.x
Run composer install && cp .env.example .env
Move to the root folder and run docker-compose up -d
Migrate your database and seed with:
docker exec -it app php artisan migrate --seed
Open your browser and go to http://localhost:81
Enjoy!
Why port 81?
:80
and the API to be in port :81
Can we change this port?
docker-compose.yml
fileIs everything customizable?
docker-compose.yml
file and make your own customization. Be sure you know what you are doing.