dunglas/symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.

Dockerfile

3,186

380 commits

updated Oct 14, 2026

See the code

README

Symfony Docker

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

Coding-agents ready: ships with a Dev Container and a one-page guide to run OpenCode, Claude Code, or any AI coding assistant, against a local or a remote model, with an optional network sandbox.

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.

caddy-server
docker
frankenphp
hacktoberfest
https
mercure
php
symfony
vulcain

dunglas/symfony-docker

A Docker-based installer and runtime for Symfony. Install: download and `docker compose up`.

Dockerfile

3,186

380 commits

updated Oct 14, 2026

See the code

README

Symfony Docker

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

Coding-agents ready: ships with a Dev Container and a one-page guide to run OpenCode, Claude Code, or any AI coding assistant, against a local or a remote model, with an optional network sandbox.

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.

caddy-server
docker
frankenphp
hacktoberfest
https
mercure
php
symfony
vulcain

Project health

Overall

5.0/10

Maintained

6/10

Code review

4/10
OpenSSF Scorecard

Significant stargazers

Alexander M. Turek

452 followers · starred Apr 2020

Kevin Bond

304 followers · starred May 2017

Asmir Mustafic

297 followers · starred Jun 2017

Victor Bocharsky

317 followers · starred Dec 2021