Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.6 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.6 KB

Laravel Docker

A Docker-based installer and runtime for the Laravel web framework, with full HTTP/2 and HTTPS support.

Built on top of Symfony Docker.

Getting Started

  1. Install Docker Compose (v2.10+)
  2. Run docker compose build to build fresh images
  3. Run docker compose up --pull --wait to start the project, add custom options for custom start
  4. Open https://localhost on web browser and accept the auto-generated TLS certificate.
  5. Run docker compose down --remove-orphans to stop Docker containers.

Features

  • 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!

Docs

  1. Build options
  2. Using Symfony Docker with an existing project
  3. Deploying in production
  4. Debugging with Xdebug
  5. TLS Certificates
  6. Using a Makefile
  7. Troubleshooting

License

Laravel Docker is available under the MIT License.

Credits

Created by Lorenzo Dessimoni, based to work of Symfony Docker by Kévin Dunglas