From 730a7501e53a67d4b6af9094c4f385521eaca828 Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Mon, 4 Jul 2016 16:24:25 +0100 Subject: [PATCH] Update readme for webroot info --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 93db689..f3f3611 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ If you have any improvements please submit a pull request. ### Docker hub repository The Docker hub build can be found here: [https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/](https://registry.hub.docker.com/u/richarvey/nginx-php-fpm/) ## Versions -- Nginx: **1.10.1** -- PHP: **5.6.21** -- Alpine Version: **3.4** - -Use richarvey/nginx-php-fpm:php7 tag for PHP 7. +| Tag | Nginx | PHP | Alpine | +|-----|-------|-----|--------| +| latest | 1.10.1 | 5.6.21 | +| php5 | 1.10.1 | 5.6.21 | +| php7 | 1.10.1 | 7.0.7 | ## Building from source To build from source you need to clone the git repo and run docker build: @@ -127,6 +127,8 @@ All logs should now print out in stdout/stderr and are available via the docker ``` docker logs ``` +### WebRoot +You can set your webroot in the container to anything you want using the -e "WEBROOT=/var/www/html/public" variable. ### Displaying Errors If you want to display PHP errors on screen (in the browser) for debugging purposes use this feature: