Skip to content

Commit 88c790f

Browse files
committed
install.md: docker usage
1 parent bb49c16 commit 88c790f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/content/en/install.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,20 @@ go get -u github.com/ContentSquare/chproxy
2222
```
2323

2424
If you don't have Go installed on your system - follow [this guide](https://golang.org/doc/install).
25+
26+
27+
### Docker
28+
29+
Chproxy is also available as a Docker image in a public repository on DockerHub.
30+
31+
Download the image and run the container:
32+
33+
```
34+
docker run -d -v <LOCAL CONFIG>:/config.yml contentsquareplatform/chproxy:<VERSION TAG> -config /config.yml
35+
```
36+
37+
Example:
38+
39+
```
40+
docker run -d -v $(pwd)/config/examples/simple.yml:/config.yml contentsquareplatform/chproxy:1.15.0 -config /config.yml
41+
```

0 commit comments

Comments
 (0)