You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() Bisher kein Design, nur '@chaospott.de' Adresse, Model WIP entworfen |
1 month ago | |
---|---|---|
.github | 1 month ago | |
.idea | 1 month ago | |
bin | 1 month ago | |
config | 1 month ago | |
docker | 1 month ago | |
docs | 1 month ago | |
public | 1 month ago | |
src | 1 month ago | |
templates | 1 month ago | |
.dockerignore | 1 month ago | |
.editorconfig | 1 month ago | |
.env | 1 month ago | |
.gitattributes | 1 month ago | |
.gitignore | 1 month ago | |
Dockerfile | 1 month ago | |
LICENSE | 1 month ago | |
README.md | 1 month ago | |
composer.json | 1 month ago | |
composer.lock | 1 month ago | |
docker-compose.override.yml | 1 month ago | |
docker-compose.prod.yml | 1 month ago | |
docker-compose.yml | 1 month ago | |
symfony.lock | 1 month ago |
README.md
Symfony Docker
A Docker-based installer and runtime for the Symfony web framework, with full HTTP/2, HTTP/3 and HTTPS support.
Getting Started
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --pull --no-cache
to build fresh images - Run
docker compose up
(the logs will be displayed in the current shell) - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
docker compose down --remove-orphans
to stop the Docker containers.
Features
- Production, development and CI ready
- Installation of extra Docker Compose services with Symfony Flex
- Automatic HTTPS (in dev and in prod!)
- HTTP/2, HTTP/3 and Preload support
- Built-in Mercure hub
- Vulcain support
- Native XDebug integration
- Just 2 services (PHP FPM and Caddy server)
- Super-readable configuration
Enjoy!
Docs
- Build options
- Using Symfony Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using a Makefile
- Troubleshooting
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.