Skip to content
A quick plug-and-play setup for a Laravel-Docker project
PHP HTML Dockerfile Vue
Branch: master
Clone or download
shsma Merge pull request #2 from shsma/dependabot/composer/symfony/http-fou…
…ndation-4.4.1

Bump symfony/http-foundation from 4.2.5 to 4.4.1
Latest commit 58f8578 Jan 21, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap first commit Apr 7, 2019
config first commit Apr 7, 2019
database
docker
public first commit Apr 7, 2019
resources
routes first commit Apr 7, 2019
storage first commit Apr 7, 2019
tests first commit Apr 7, 2019
.editorconfig first commit Apr 7, 2019
.env.example first commit Apr 7, 2019
.gitattributes first commit Apr 7, 2019
.gitignore first commit Apr 7, 2019
Dockerfile Dockerfile quickfix Aug 3, 2019
artisan first commit Apr 7, 2019
composer.json first commit Apr 7, 2019
composer.lock Bump symfony/http-foundation from 4.2.5 to 4.4.1 Dec 3, 2019
docker-compose.yml some little fixies Apr 7, 2019
package.json first commit Apr 7, 2019
phpunit.xml first commit Apr 7, 2019
readme.md
server.php first commit Apr 7, 2019
webpack.mix.js first commit Apr 7, 2019

readme.md

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

Installatioin

  • git clone git@github.com:shsma/laravel-docker.git
  • cd laravel-docker-master
  • docker-compose up -d
  • docker-compose 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 shady@veloxsolutions.ca.

License

ShadySmaoui©2019 licensed under the MIT license.

You can’t perform that action at this time.