# dunglas/symfony-docker

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

Repository: https://github.com/dunglas/symfony-docker
Canonical: https://ross.abutalabs.com/products/symfony-docker
Homepage: https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/
Language: Dockerfile
License Family: other
Topics: symfony, docker, php, https, mercure, vulcain, caddy-server, hacktoberfest, frankenphp
Last push: 2026-08-24T10:43:26+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 3420, "days_push": 9, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3179, forks 873 (observed 2026-08-28T04:07:47.699258+00:00)

## What it is
A Docker Compose-based template and runtime for Symfony applications, bundling FrankenPHP and Caddy with automatic HTTPS, HTTP/3, Mercure real-time messaging, and Xdebug. It provides production, development, and CI-ready configuration that can bootstrap a fresh Symfony project with a single `docker compose up`.

## Use cases
- set up a symfony project with docker
- run php web app locally with https
- docker compose template for symfony production deployment
- local development environment for symfony with xdebug
- host symfony app with automatic tls certificates
- add real-time updates to symfony with mercure
- dev container setup for php coding agents

## When to choose
- starting a new Symfony project that should be Docker-native from day one
- you want automatic HTTPS, HTTP/3, and Early Hints without extra configuration
- you need a slim, rootless production image with FrankenPHP worker mode performance
- you want built-in Mercure real-time messaging and Xdebug support

## When to avoid
- your project uses a framework other than Symfony
- you already have a mature custom Docker setup and only need minor tweaks
- you need a fully managed platform rather than self-managed containers
- you require a license file bundled in the repo before adopting it in a compliance-sensitive context

## Facets
- artifact type: infra-config
- maturity: active
- function: deployment, http-server, web-framework, developer-tools, configuration-management
- domain: web-development, backend, self-hosted
- platform: php, windows, cross-platform
- tags: symfony, frankenphp, caddy, docker-compose, https, mercure, boilerplate, dev-container, xdebug, http3, devops, containers, docker, linux, macos

## Member repositories
- dunglas/symfony-docker (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.699258+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:25:06.042835+00:00, confidence not recorded.
  - readme: https://github.com/dunglas/symfony-docker (fetched 2026-08-28T04:07:47.699258+00:00, sha 62c92785348e)
  - homepage: https://dunglas.dev/2021/12/symfonys-new-native-docker-support-symfony-world/ (fetched 2026-08-29T09:39:14.129097+00:00, sha 638d22c8a008)
- Data as of 2026-08-30T08:39:29.467469+00:00.
