vcarreira / docker-laravel

A docker Compose file for Laravel development
36 stars 12 forks source link

Packaging this with a Laravel App #2

Closed leothelocust closed 7 years ago

leothelocust commented 7 years ago

First off, thanks for this very well designed group of docker images/containers.

I do have a question tho. How would a person go about packaging this up into a Laravel Project so other devs could quickly docker-compose up -d after a simple git cloneof the Laravel project.

It seems docker is meant for such a task, but this particular example seems to aim towards keeping the docker-compose.yml file out of the Laravel repo.

Thoughts?

vcarreira commented 7 years ago

Hi, I understand your issue and I'm working on a Yo generator to simplify the process of "dockerizing" a full stack Laravel app. Something as simple as: yo docker-laravel from your laravel folder.

I'm planning on releasing it next week.

vcarreira commented 7 years ago

You can checkout my new yeoman generator that simplifies the process of dockerizing a Laravel App /vcarreira/generator-docker-laravel