Contains lightweight infrastructure for quick launch of Laravel - Lumen and other php projects using Docker containers.
- docker (17.06+)
- docker-compose (1.18+)
- docker-sync (0.5+) (optional)
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.
Use docker-compose.override for override any of service config for your local env.
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 .
The same with Lumen guide except last step of installation:
cd src/
composer create-project --prefer-dist laravel/laravel .