This is a copy from dunglas/symfony-docker with API Platform Helm setup to run in kubernetes.
A Docker-based installer and runtime for the Symfony web framework, with full HTTP/2, HTTP/3 and HTTPS support.
- If not already done, install Docker Compose (v2.10+)
- Run
make build
to build fresh images - Run
make up
(detached mode without logs) - Open
https://localhost
in your favorite web browser and accept the auto-generated TLS certificate - Run
make down
to stop the Docker containers
- Install Kubernetes and Minikube.
- Run
make minikube.start
- Run
make helm.install
- Run
make kubectl.portforward
- A test page will be available at http://localhost/lucky
- 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
- Native XDebug integration
- Just 2 services (PHP FPM and Caddy server)
- Super-readable configuration
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
Symfony Docker is available under the MIT License.
Created by Kévin Dunglas, co-maintained by Maxime Helias and sponsored by Les-Tilleuls.coop.