- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cache
to build fresh images - Run
docker compose up --pull always -d --wait
to start the project - Run
make build-css
to download the dependencies and build the CSS - 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.
Open the project with either symfony server or docker.
Click on "Profile a request".
Use make webgrind
and open http://localhost:800
to see the profiling results.
- Uses AssetMapper
- Uses FrankenPHP
- Uses HTMX
- Uses SVG loaders from Sam Herbert's SVG-Loaders
Enjoy!
- 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
- Updating the template
Symfony Docker is available under the MIT License.
Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.