A Docker-based installer and runtime for the Laravel web framework, with full HTTP/2 and HTTPS support.
Built on top of Symfony Docker.
- Install Docker Compose (v2.10+)
- Run
docker compose build
to build fresh images - Run
docker compose up --pull --wait
to start the project, add custom options for custom start - Open
https://localhost
on web browser and accept the auto-generated TLS certificate. - Run
docker compose down --remove-orphans
to stop Docker containers.
- Production, development and CI ready
- Automatic HTTPS (in dev and in prod!)
- HTTP/2, HTTP/3 and Preload support
- XDebug support
- Vulcain support
- Just 2 services (PHP FPM and Caddy server)
Enjoy!
- Build options
- Using Symfony Docker with an existing project
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using a Makefile
- Troubleshooting
Laravel Docker is available under the MIT License.
Created by Lorenzo Dessimoni, based to work of Symfony Docker by Kévin Dunglas