From 8c69f228d5b847d85602a3812b2fbcdad30856cb Mon Sep 17 00:00:00 2001 From: Ric Harvey Date: Tue, 27 Jan 2015 18:21:14 +0000 Subject: [PATCH] README updates --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0ebaf4d..67fe6d0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ ## Introduction -This is a Dockerfile to build a container image for nginx and php-fpm, with the ability to pull website code from git. The container can also use environment variables to configure your web application using the templating detailed in the [special features](#specialfeatures) section. +This is a Dockerfile to build a container image for nginx and php-fpm, with the ability to pull website code from git. The container can also use environment variables to configure your web application using the templating detailed in the [special features](#special-features) section. ## Version Mainline Version: **1.7.9** Stable Version: **1.6.2** @@ -36,7 +36,7 @@ To pull a repository and specify a branch add the GIT_BRANCH environment variabl sudo docker run -e 'GIT_REPO=git@git.ngd.io:ngineered/ngineered-website.git' -e 'GIT_BRANCH=stage' -v /opt/ngddeploy/:/root/.ssh -p 8080:80 -d richarvey/nginx-php-fpm ``` ### Linking -Linking to containers also exposes the linked container environment variables which is useful for configuring web apps: +Linking to containers also exposes the linked container environment variables which is useful for [templating](templating) and configuring web apps: Run MySQL container with some extra details: ```bash sudo docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=yayMySQL -e MYSQL_DATABASE=wordpress -e MYSQL_USER=wordpress_user -e MYSQL_PASSWORD=wordpress_password -d mysql