Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1018 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 1018 Bytes

mbentley/nginx-php5

WARNING: This image is based off of an outdated operating system that is no longer supported and this image is no longer being regularly built.

docker image for nginx + php5-fpm based off of debian:jessie

To pull this image: docker pull mbentley/nginx-php5

Example usage: docker run -i -t -p 80 -v /data/logs:/var/log/nginx -v /data/www:/var/www mbentley/nginx-php5

By default, this just runs a basic nginx server that listens on port 80. The default webroot is /var/www.

Note: There are a number of packages that have been installed here that are certainly not required for php5 or nginx but are added for specific use cases that require the additional packages.

Also, please be aware that this isn't exactly an ideal configuration using php5-fpm and nginx in a single container while running with supervisor. Please see mbentley/php5-fpm for instructions on how to make php5-fpm and nginx work together in separate containers.