Public | Automated Build

Last pushed: a year ago
Short Description
A minimal PHP-FPM-enabled installation of NGINX on Ubuntu
Full Description

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
Docker Pull Command
Owner
mcskinner
Source Repository

Comments (0)