No description
  • Shell 60.7%
  • Dockerfile 39.3%
Find a file
2026-05-18 10:58:26 +00:00
.devcontainer Initial commit 2026-05-18 10:58:26 +00:00
.github Initial commit 2026-05-18 10:58:26 +00:00
docs Initial commit 2026-05-18 10:58:26 +00:00
frankenphp Initial commit 2026-05-18 10:58:26 +00:00
.dockerignore Initial commit 2026-05-18 10:58:26 +00:00
.editorconfig Initial commit 2026-05-18 10:58:26 +00:00
.gitattributes Initial commit 2026-05-18 10:58:26 +00:00
compose.override.yaml Initial commit 2026-05-18 10:58:26 +00:00
compose.prod.yaml Initial commit 2026-05-18 10:58:26 +00:00
compose.yaml Initial commit 2026-05-18 10:58:26 +00:00
composer.json Initial commit 2026-05-18 10:58:26 +00:00
Dockerfile Initial commit 2026-05-18 10:58:26 +00:00
README.md Initial commit 2026-05-18 10:58:26 +00:00

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.