Skip to content
/ laravel-docker Public template
forked from dunglas/symfony-docker

A Docker-based installer and runtime for Laravel. Full inspired by Symfony Docker

Notifications You must be signed in to change notification settings

FunkyOz/laravel-docker

 
 

Repository files navigation

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

About

A Docker-based installer and runtime for Laravel. Full inspired by Symfony Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 71.8%
  • Shell 28.2%