Home
Softono
symfony-docker

symfony-docker

Open source Shell
3.1K
Stars
883
Forks
30
Issues
80
Watchers
1 week
Last Commit

About symfony-docker

symfony-docker is a Docker-based installer and runtime for the Symfony PHP framework, bundling FrankenPHP and Caddy into a ready-to-use container setup. It provides production, development, and CI-ready environments with a single service by default and ships with automatic HTTPS, HTTP/3, and Early Hints support. FrankenPHP's worker mode delivers high performance, while built-in features include a Mercure hub for real-time messaging and Vulcain support. It also offers native Xdebug integration, hot reloading, and the ability to add extra Docker Compose services through Symfony Flex. The project includes Dev Container configuration tailored for AI coding agents such as Claude Code, enabling sandboxed autonomous operation, and ships with a rootless slim production image. Getting started requires Docker Compose v2.10 or later: run docker compose build, then docker compose up, and access the application at https://localhost. Documentation covers options, production deployment, TLS certificates, database choices, d

Platforms

Web Self-hosted Docker

Languages

Shell

Symfony Docker

A Docker-based installer and runtime for the Symfony web framework, with FrankenPHP and Caddy inside!

Specially tailored for coding agents: ships with a Dev Container configuration that lets Claude Code (and other AI coding assistants) run in fully autonomous mode inside a sandboxed environment.

CI

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --pull --no-cache to build fresh images
  3. Run docker compose up --wait to set up and start a fresh Symfony project
  4. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  5. Run docker compose down --remove-orphans to stop the Docker containers.

Features

Enjoy!

Docs

  1. Options available
  2. Using Symfony Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. TLS Certificates
  7. Using MySQL instead of PostgreSQL
  8. Using Alpine Linux instead of Debian
  9. Using a Makefile
  10. Updating the template
  11. Troubleshooting
  12. Using AI Coding Agents

License

Symfony Docker is available under the MIT License.

Credits

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