Readme Updates
This commit is contained in:
@ -1,19 +1,19 @@
|
|||||||
Build the image
|
# TheTempusProject Apache Docker Image
|
||||||
|
|
||||||
|
This image will build an apache webserver off php and use composer to clone the project to create a webserver TTP App.
|
||||||
|
|
||||||
|
## Build the image
|
||||||
```
|
```
|
||||||
docker build -t thetempusproject/ttp-apache:latest .
|
docker build -t thetempusproject/ttp-apache:latest .
|
||||||
docker build --no-cache -t thetempusproject/ttp-apache:latest .
|
docker build --no-cache -t thetempusproject/ttp-apache:latest .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Set the proper tag for dockerhub (in cases where you need to build your own image)
|
||||||
|
|
||||||
Set the proper tag for dockerhub
|
|
||||||
```
|
```
|
||||||
docker tag ttp-apache:latest thetempusproject/ttp-apache:latest
|
docker tag ttp-apache:latest thetempusproject/ttp-apache:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Run the image
|
||||||
|
|
||||||
Run the image
|
|
||||||
```
|
```
|
||||||
docker run -d -p 80:80 thetempusproject/ttp-apache
|
docker run -d -p 80:80 thetempusproject/ttp-apache
|
||||||
```
|
```
|
@ -1,19 +1,19 @@
|
|||||||
Build the image
|
# TheTempusProject Nginx Docker Image
|
||||||
|
|
||||||
|
This image will build an nginx webserver off php and use composer to clone the project to create a webserver TTP App.
|
||||||
|
|
||||||
|
## Build the image
|
||||||
```
|
```
|
||||||
docker build -t thetempusproject/ttp-nginx:latest .
|
docker build -t thetempusproject/ttp-nginx:latest .
|
||||||
docker build --no-cache -t thetempusproject/ttp-nginx:latest .
|
docker build --no-cache -t thetempusproject/ttp-nginx:latest .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Set the proper tag for dockerhub (in cases where you need to build your own image)
|
||||||
|
|
||||||
Set the proper tag for dockerhub
|
|
||||||
```
|
```
|
||||||
docker tag ttp-nginx:latest thetempusproject/ttp-nginx:latest
|
docker tag thetempusproject/ttp-nginx:latest <username>/ttp-nginx:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Run the image
|
||||||
|
|
||||||
Run the image
|
|
||||||
```
|
```
|
||||||
docker run -d -p 8000:80 thetempusproject/ttp-nginx
|
docker run -d -p 8000:80 thetempusproject/ttp-nginx
|
||||||
```
|
```
|
Reference in New Issue
Block a user