Skip to content

A Docker-based installer and runtime for the Micro web framework, with full HTTP/2, HTTP/3 and HTTPS support.

License

Notifications You must be signed in to change notification settings

Micro-PHP/micro-docker

Repository files navigation

Micro Docker environment

A Docker-based installer and runtime for the Micro web framework, with full HTTP/2, HTTP/3 and HTTPS support.

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. To overwrite the main configuration file (.env), simply create a new file that will depend on the APP_ENV environment variable ".env.<$APP_ENV>"
  3. Run make build to build fresh images
  4. Run make up (the logs will not be displayed in the current shell. Use make logs if you want to see the container's log after it has started.)
  5. Open https://localhost in your favorite web browser and accept the auto-generated TLS certificate
  6. Run make down to stop the Docker containers.

Features

  • 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

Docs

  1. Build options
  2. Deploying in production
  3. Debugging with Xdebug
  4. TLS Certificates
  5. Troubleshooting

License

Micro Docker is available under the MIT License.

Credits

Thanks to Kévin Dunglas for the good work that this environment is based on.

About

A Docker-based installer and runtime for the Micro web framework, with full HTTP/2, HTTP/3 and HTTPS support.

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published