docker image for nginx + php5-fpm
based off of stackbrew/debian:jessie
To pull this image:
docker pull mbentley/nginx-php5
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
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.