diff options
author | Jinwei Zhao <[email protected]> | 2016-11-14 22:25:17 +0800 |
---|---|---|
committer | Jinwei Zhao <[email protected]> | 2016-11-14 22:25:17 +0800 |
commit | 380ab77b485c1e7fe8d7546ddfec9d2252b15c11 (patch) | |
tree | b05c38b25854af25cbb9c0805d9a0c9ec45e8e19 | |
download | nginx-proxy-google-380ab77b485c1e7fe8d7546ddfec9d2252b15c11.tar.gz |
init
-rw-r--r-- | README.md | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..c37d501 --- /dev/null +++ b/README.md | |||
@@ -0,0 +1,40 @@ | |||
1 | # nginx-proxy-google | ||
2 | |||
3 | Inspired by [ngx_http_google_filter_module](https://github.com/cuber/ngx_http_google_filter_module) | ||
4 | |||
5 | ## Base Docker Image | ||
6 | |||
7 | * [ubuntu](https://hub.docker.com/_/ubuntu/) | ||
8 | |||
9 | ## Usage | ||
10 | |||
11 | You can either pull [automated build](https://hub.docker.com/r/clarkzjw/nginx-proxy-google/) from Docker Hub or build the image by yourself. | ||
12 | |||
13 | ### Pull from Docker Hub | ||
14 | |||
15 | ```bash | ||
16 | docker pull clarkzjw/nginx-proxy-google | ||
17 | ``` | ||
18 | |||
19 | ### Build the image by yourself | ||
20 | |||
21 | + Install [Docker](https://docs.docker.com/engine/installation/#installation). | ||
22 | |||
23 | + Clone this repo | ||
24 | |||
25 | ```bash | ||
26 | git clone https://github.com/clarkzjw/nginx-proxy-google | ||
27 | ``` | ||
28 | |||
29 | + Build an image from Dockerfile | ||
30 | |||
31 | ```bash | ||
32 | docker build -t="nginx-proxy-google" . | ||
33 | ``` | ||
34 | |||
35 | ## Run | ||
36 | |||
37 | ```bash | ||
38 | docker run -d -p <host-ip-port>:80 nginx-proxy-google | ||
39 | ``` | ||
40 | |||