Dockerfile for nginx and php-fpm together.
Lua support is enabled and an nginx prometheus exporter is also available on port 9000
Composer is also installed for convenience.
Doc root in default conf is /usr/share/nginx/html so mounting files there will get them served.
An ERRORS env can be set to toggle error reporting. Check out cmd.sh to see what happens.
ERRORS=1 will trigger error reporting, everything else keeps it turned off.
A PHP_FPM_POOL_CONF env can be set with the contents of a conf which will be created as a file in /etc/php/${IMAGE_PHP_VERSION/fpm/pool.d/z-www.conf
Content type
Image
Digest
Size
115 MB
Last updated
over 8 years ago
docker pull byrnedo/nginx-php7-fpm