Skip to content

Latest commit

 

History

History
68 lines (45 loc) · 1.42 KB

README.md

File metadata and controls

68 lines (45 loc) · 1.42 KB

Laravel - Lumen Docker Pet Project

Contains lightweight infrastructure for quick launch of Laravel - Lumen and other php projects using Docker containers.

Requirements:

Integration

Just rename docker-sync.yml.dist to docker-sync.yml and write your config.

Integrated with docker-sync for speed up volumes on the macOS.

Notes

Use docker-compose.override for override any of service config for your local env.

Quick start guide for Lumen:

Make src directory for the store project source code:

mkdir src

Copy ".env-example" and set name ".env" for new file change ENV.

run:

docker-compose up {?-d} --build

-d arg:

-d Detached mode: Run containers in the background,
                  print new container names. Incompatible with

after that "fail" into "workspace" container:

docker-compose exec workspace bash 

and go to standard installation flow for lumen:

cd src/
composer create-project --prefer-dist laravel/lumen .

Quick start guide for Laravel:

The same with Lumen guide except last step of installation:

cd src/
composer create-project --prefer-dist laravel/laravel .