Symfony Docker

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

CI

Getting Started

  1. If not already done, install Docker Compose
  2. Run docker-compose up (the logs will be displayed in the current shell)
  3. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate

Features

  • Production, development and CI ready
  • Automatic HTTPS (in dev and in prod!)
  • HTTP/2, HTTP/3 and Preload support
  • Built-in Mercure hub
  • Vulcain support
  • Just 2 services (PHP FPM and Caddy server)
  • Super-readable configuration

Enjoy!

Docs

  1. Build options
  2. Support for extra services
  3. Deploying in production
  4. Installing Xdebug
  5. Troubleshooting

Credits

Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.