A Docker-based installer and runtime for the Micro web framework, with full HTTP/2, HTTP/3 and HTTPS support.
- If not already done, install Docker Compose (v2.10+)
- To overwrite the main configuration file (.env), simply create a new file that will depend on the APP_ENV environment variable ".env.<$APP_ENV>"
- Run
make buildto build fresh images - Run
make up(the logs will not be displayed in the current shell. Usemake logsif you want to see the container's log after it has started.) - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate - Run
make downto stop the Docker containers.
- Production, development and CI ready
- Automatic HTTPS (in dev and in prod!)
- HTTP/2, HTTP/3 and support
- Built-in Mercure hub
- Native XDebug integration
Micro Docker is available under the MIT License.
Thanks to Kévin Dunglas for the good work that this environment is based on.