Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 847 Bytes

readme.md

File metadata and controls

28 lines (19 loc) · 847 Bytes

Laravel-Docker plug-and-play

This is a quick plug-and-play setup for your Laravel-Docker projects

Comes with:

  • web-app: Laravel/PHP-7.2
  • web-server: Nginx:alpine
  • database: Mysql-5.7.22

Setup

  • git clone [email protected]:shsma/laravel-docker.git
  • cd laravel-docker-master
  • docker-compose up -d
  • docker exec app composer install
  • cp .env.example .env
  • docker-compose exec app php artisan key:generate

Now that all containers are up, we can add 127.0.0.1 project.local to our /etc/hosts file

Boom! access project.local on your favorite browser

Questions and Improvements

For any question or emprovement please send an e-mail to Shady Smaoui [email protected].

License

ShadySmaoui©2020 licensed under the MIT license.