summaryrefslogtreecommitdiffstats
path: root/Services/nodejs/README.md
blob: f0b0326ff6badc179c79446b2dd4980868425d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# STARTX Services docker-images : Apache-PHP

## 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

### 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" -e VIRTUAL_HOST=www.project.startx.fr <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)