Sign inSign up

mcskinner/nginx-php

By mcskinner

Updated over 10 years ago

A minimal PHP-FPM-enabled installation of NGINX on Ubuntu

Image
0

3.1K

mcskinner/nginx-php repository overview

mcskinner/nginx-php

This repository contains a Dockerfile to add PHP-FPM support to an underlying NGINX image.

Hat tip to eugeneware/docker-wordpress-nginx for providing a solid starting point. Most notably, the configuration for Supervisor was indispensable.

For more detail on how this works, visit blog.mcskinner.com.

Base Docker Image
Usage
# Serve the NGINX boilerplate content.
docker run -d -p 80:80 mcskinner/nginx-php

# Serve your own site.
docker run -d -p 80:80 \
  -v $(pwd)/example/sites-enabled:/etc/nginx/sites-enabled \
  -v $(pwd)/example/php:/var/www/html \
  mcskinner/nginx-php

Tag summary

Content type

Image

Digest

Size

125 MB

Last updated

over 10 years ago

docker pull mcskinner/nginx-php