Skip to content
/ php-docker Public template
forked from dunglas/symfony-docker

A Docker-based installer and runtime for PHP. Install: download and `docker compose up`.

Notifications You must be signed in to change notification settings

AchillesKal/php-docker

 
 

Repository files navigation

PHP Docker

A Docker-based installer and runtime for PHP, with FrankenPHP and Caddy inside!

CI

Getting Started

  1. If not already done, install Docker Compose (v2.10+)
  2. Run docker compose build --no-cache to build fresh images
  3. Run docker compose up --pull always -d --wait to start the project
  4. Open https://lalhost in your favorite web browser and accept the auto-generated TLS certificate
  5. Run docker compose down --remove-orphans to stop the Docker containers.

Features

Enjoy!

Docs

  1. Build options
  2. Using PHP Docker with an existing project
  3. Support for extra services
  4. Deploying in production
  5. Debugging with Xdebug
  6. TLS Certificates
  7. Using a Makefile
  8. Troubleshooting

License

PHP Docker is available under the MIT License.

Credits

This project is a fork of symfony-docker trimmed and simplified for plain php use. Credits to Kévin Dunglas and Maxime Helias.

About

A Docker-based installer and runtime for PHP. Install: download and `docker compose up`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 82.2%
  • Shell 17.0%
  • PHP 0.8%