{"repo":"ucan-lab/docker-laravel","free":true,"listed":false,"github":"https://github.com/ucan-lab/docker-laravel","clone":"git clone https://github.com/ucan-lab/docker-laravel.git","description":"🐳 Build a simple laravel development environment with Docker Compose.","language":"Makefile","stars":1200,"topics":["docker","laravel"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"docker-laravel 🐳 Introduction Build a simple laravel development environment with Docker Compose. Support with Windows(WSL2), macOS(Intel and Apple Silicon) and Linux. Requirements - Docker Engine v23.0+ (BuildKit enabled by default) or the latest Docker Desktop The Dockerfile uses here-documents ( RUN <<EOF ), which require BuildKit. When BuildKit is disabled (e.g. an old Docker version or the legacy builder), the RUN instructions are silently skipped, so required packages such as git are never installed. The build still succeeds, but composer install later fails with git was not found in your PATH . BuildKit is enabled by default on Docker Engine v23.0+ and Docker Desktop. If you must use an older Docker, enable it explicitly before building: Usage Create an initial Laravel project 1. Click Use this template 2. Git clone & change directory 3. Execute the following command http://localhost Create an existing Laravel project 1. Git clone & change directory 2. Execute the following command http://localhost Tips - Read this Taskfile. - Read this Makefile. - Read this Wiki. Container structures app container - Base image - php:8.4-fpm-bullseye - composer:2.10 web container - Base image - nginx:1.31 db container - Base image - mysql:9.7 mailpit container - Base image - axllent/mailpit","default_branch":null,"files":null,"tree":[],"storefront":"/r/ucan-lab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ucan-lab/docker-laravel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}