A Docker-based installer and runtime for the Sylius ecommerce framework, with FrankenPHP and Caddy inside!
Based on Symfony Docker
- 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 set up and start a fresh Sylius project - 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.
docker compose -f compose.test.yaml -d --wait
- Production, development and CI ready
- Blazing-fast performance thanks to the worker mode of FrankenPHP (automatically enabled in prod mode)
- Installation of extra Docker Compose services with Symfony Flex
- Automatic HTTPS (in dev and prod)
- HTTP/3 and Early Hints support
- Native XDebug integration
- Super-readable configuration
Enjoy!
- Options available
- Using Sylius Docker with an existing project
- Support for extra services
- Deploying in production
- Debugging with Xdebug
- TLS Certificates
- Using MySQL instead of PostgreSQL
- Using Alpine Linux instead of Debian
- Using a Makefile
- Updating the template
- Troubleshooting
Sylius Docker is available under the MIT License.
Base project Symfony Docker created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.