Public Repository

Last pushed: a year ago
Short Description
Alpine Linux 3.4 LEMP with Nginx 1.11.10, PHP 7.1.2 (imap, mysql, opcache, zip and mcrypt enabled)
Full Description


This is a Dockerfile/image to build a container for nginx and php-fpm, with the ability to pull website code from git when the container is created, as well as allowing the container to push and pull changes to the code to and from git. The container also has the ability to update templated files with variables passed to docker in order to update your code and settings. There is support for lets encrypt SSL configurations, custom nginx configs, core nginx/PHP variable overrides for running preferences, X-Forwarded-For headers and UID mapping for local volume support.

If you have improvements or suggestions please open an issue or pull request on the GitHub project page.


Docker Tag GitHub Release Nginx Version PHP Version Alpine Version
latest Master Branch 1.11.10 7.1.2 3.4
For other tags please see: versioning


Quick Start

To pull from docker hub:

docker pull dcnl1980/nginx-php-fpm:latest

Docker Pull Command