Skip to content

Commit

Permalink
Merge pull request #342 from snyk/docs/zd-11062
Browse files Browse the repository at this point in the history
docs: Add proxy config based on docs_needed ticket 11062.
  • Loading branch information
carlos-snyk authored Aug 5, 2021
2 parents 4583160 + 4b75299 commit cce5cd7
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg)](https://snyk.io)
[![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg)](https://snyk.io)

[![Known Vulnerabilities](https://snyk.io/test/github/snyk/broker/badge.svg?style=flat-square)](https://snyk.io/test/github/snyk/broker)

Expand Down Expand Up @@ -39,6 +39,14 @@ docker run --restart=always \
snyk/broker:github-com
```

Proxy configuration, see [Configure Docker to use a proxy server](https://docs.docker.com/network/proxy/)

```Proxy
-e HTTP_PROXY=http://my.proxy.address:8080
-e HTTPS_PROXY=http://my.proxy.address:8080
-e NO_PROXY=*.test.example.com,.example2.com,127.0.0.0/8
```

#### Derived docker image

Another option is to build your own docker image and override relevant environment variables:
Expand Down

0 comments on commit cce5cd7

Please sign in to comment.