Skip to content

janit/php-pm-docker-example

Repository files navigation

PHP-PM Docker with Symfony example

This is an attempt to run PHP-PM in a Docker image. The aim is to enable running compatible PHP apps with high performance and no need for a separate web server (like Nginx or Apache). This would be inline with running Node.js or Golang apps in containers.

More information in this article: Running Symfony without a web server on Docker using PHP-PM

Installation

Make sure you've got Docker installed and working as expected.

Build the image (see Dockerfile for details):

$ docker build --tag=ppmtest .

This will take some time, but once you've got it running you can run it as follows:

$ docker run -p 8080:8080 ppmtest:latest 

About

Symfony Standard Edition with PHP-PM in a simple Docker image to avoid running Nginx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published