From 4b7529921c1f5ed29a5934d432e6388b717d5c53 Mon Sep 17 00:00:00 2001 From: Owen Morrill Date: Fri, 2 Jul 2021 13:09:15 -0500 Subject: [PATCH] docs: Add proxy config based on docs_needed ticket 11062. --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 42cfa015a..8de3bfce9 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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: