From 77fab0ea6f3d8fac14f0f616339483087ee0ba90 Mon Sep 17 00:00:00 2001
From: startxfr <clarue@startx.fr>
Date: Sun, 16 Nov 2014 03:18:44 +0100
Subject: modif du readme de fedora

---
 Services/php/README.md | 40 ++++++++++++++++++++++++++++++++--------
 1 file changed, 32 insertions(+), 8 deletions(-)

(limited to 'Services')

diff --git a/Services/php/README.md b/Services/php/README.md
index 4844da0..ede4427 100644
--- a/Services/php/README.md
+++ b/Services/php/README.md
@@ -1,10 +1,34 @@
-STARTX docker-images - PHP
-==========================
+# STARTX Services docker-images : Apache-PHP
 
-**Description**  
-Based on the [tutum php](https://registry.hub.docker.com/u/tutum/apache-php) Dockerfile
+## Running from docker registry
+
+	# docker run -d -p 8080:80 --name="test-www" startx/sv-php
+
+## Running from local Dockerfile
+
+### Building docker image
+Copy the sources to your docker host 
+
+	# mkdir startx-docker-images;
+	# git clone https://github.com/startxfr/docker-images.git startx-docker-images/
+	# cd startx-docker-images/Services/php/
+
+and build the container
+
+	# docker build --rm -t <username>/www .
+
+### Running local image
+
+	# docker run -d -p 8080:80 --name="test-www" <username>/www
+
+## Accessing server
+
+	# firefox http://localhost:8080
+
+## Related Resources
+
+* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php)
+* [Github STARTX profile](https://github.com/startxfr/docker-images)
+* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-php/)
+* [tutum php](https://registry.hub.docker.com/u/tutum/apache-php)
 
-**Usage**  
-	
-          docker run -d -p 80:80 startx/sv-php // minimum to run properly the server
-          docker run -d -p 80:80 --name="test-www" -e VIRTUAL_HOST=php.project.dev.startx.fr startx/sv-php
-- 
cgit v1.2.3