[READ-ONLY] Mirror of https://github.com/andrioid/docker-nginx-php5-fpm. Just a base image for Docker that uses the official PHP image as base, with Debian nginx.
0

Configure Feed

Select the types of activity you want to include in your feed.

Dockerfile 23.9%
PHP 0.4%
Other 75.7%
18 1 0

Clone this repository

https://git.vm.fail/andri.dk/docker-nginx-php5-fpm https://git.vm.fail/did:plc:qwmqm75imcvllwymhbhqyd5l
ssh://git@knot1.tangled.sh:2222/andri.dk/docker-nginx-php5-fpm ssh://git@knot1.tangled.sh:2222/did:plc:qwmqm75imcvllwymhbhqyd5l

For self-hosted knots, clone URLs may differ based on your setup.


README.md

nginx + php5-fpm#

I wanted to combine nginx and php5-fpm. The approach is to base it off of library/php:fpm and then install nginx on top of it. Both servers log to stdout and stderr, running in supervisord.

Usage#

On port 80, run in the foreground, files from /data/html#

docker run -ti -p 8080:80 -v /data/html:/var/www/html andrioid/docker-nginx-php-fpm

It's also possible to use this image as a base, and copy your files into /var/www/html.