Nginx/php-fpm web server image to run your PHP project.
334
This image runs the Nginx & php-fpm services.
Image is built on Debian Jessie.
The main software packages installed are:
Nginx listens on ports:
Those can be remapped when running the container.
A controlpanel is available when running the container, providing links to access different tools such as :
Some virtual hosts are also burned into the image to provide easy access to your project with a dynamic DocumentRoot.
These virtual hosts will allow you to run eZ Publish (5 & Platform), Drupal or Symfony projects (DocumentRoot is /var/www/path_to_your_project_folder/web/).
You can override these virtual hosts by mounting your own virtual hosts (with the same file name) as volume when running the container.
The available virtual hosts file are available here.
If you are working behind a corporate http proxy, run the klabs/forgetproxy container
Run the container
You can run the container with the docker run command :
``` sh
docker run -p 80:80 -p 82:82 -p 88:88 klabs/nginx:7.1
```
Content type
Image
Digest
Size
263.5 MB
Last updated
almost 9 years ago
docker pull klabs/nginx:7.1