diff options
| author | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 | 
|---|---|---|
| committer | startxfr <clarue@startx.fr> | 2014-11-20 09:34:55 +0100 | 
| commit | 910a26141f16336c96e304ebe850a4e5a0f97f95 (patch) | |
| tree | bc1eef413af3a0c1b7bd3eeda7ceafc8d6ed87b2 /Services/nodejs | |
| parent | 7f7d7e70ec819dbc4f1d88e29420e59549add0a9 (diff) | |
modif des readme de chaque container pour etre plus expressif
Diffstat (limited to 'Services/nodejs')
| -rw-r--r-- | Services/nodejs/README.md | 28 | 
1 files changed, 13 insertions, 15 deletions
| diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md index f0b0326..d9ce4e5 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -1,34 +1,32 @@ -# STARTX Services docker-images : Apache-PHP +# STARTX Services docker-images : NodeJS Server +This container run nodejs on fedora server.  ## Running from docker registry -	# docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr startx/sv-php - -## Running from local Dockerfile +	# docker run -d -p 8000:8000 --name="nodejs" startx/sv-nodejs +## Build and run 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/ +        mkdir startx-docker-images;  +        cd startx-docker-images; +        git clone https://github.com/startxfr/docker-images.git .  and build the container -	# docker build --rm -t <username>/www . +        docker build -t sv-nodejs Services/nodejs/  ### Running local image -	# docker run -d -p 8080:80 --name="test-www" -e VIRTUAL_HOST=www.project.startx.fr <username>/www +	# docker run -d -p 8000:8000 --name="nodejs" sv-nodejs  ## Accessing server -	# firefox http://localhost:8080 +	# firefox http://localhost:8000  ## Related Resources - -* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/php) +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/nodejs)  * [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) - +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-nodejs/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/)
\ No newline at end of file | 
