Repository navigation
Add outbound HTTP proxy example override - #962
Merged
Merged
Conversation
Shows how to route outbound traffic (telemetry, pings, update checks, license verification, code hosts, auth providers) through an HTTP proxy with HTTP_PROXY / HTTPS_PROXY / NO_PROXY, matching the guidance at https://sourcegraph.com/docs/self-hosted/private-network#http-proxy-configuration Amp-Thread-ID: https://ampcode.com/threads/T-01a13c4a-ae1a-7319-bf11-cb792b1a5481 Co-authored-by: Amp <amp@ampcode.com>
migrator only connects to Postgres, so the proxy env vars have no effect on it. Amp-Thread-ID: https://ampcode.com/threads/T-01a13c4a-ae1a-7319-bf11-cb792b1a5481 Co-authored-by: Amp <amp@ampcode.com>
This was referenced Oct 14, 2026
YAML folds the lines into a single comma-and-space-separated value, which both Go's httpproxy and libcurl parse, and is easier to read.
Amp-Thread-ID: https://ampcode.com/threads/T-01a13c4a-ae1a-7319-bf11-cb792b1a5481 Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2
enabled auto-merge (squash)
October 14, 2026 23:18
michaellzc
approved these changes
Oct 20, 2026
marcleblanc2
added a commit
to sourcegraph/deploy-sourcegraph-docker
that referenced
this pull request
Oct 20, 2026
Adds an override example to show customers how to use `HTTP_PROXY`, `HTTPS_PROXY`, and `NO_PROXY`, environment variables, as per [HTTP proxy configuration](https://sourcegraph.com/docs/self-hosted/private-network#http-proxy-configuration). Also: - Helm: sourcegraph/deploy-sourcegraph-helm#962 - Docs: sourcegraph/docs#2091 ### Test plan Parsed the override with PyYAML against `docker-compose/docker-compose.yaml`: every overridden service exists in the base file and gets all three vars, and every base service name is in `NO_PROXY`. Not run against a live proxy. --------- Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an override example to show customers how to use HTTP_PROXY, HTTPS_PROXY, and NO_PROXY, environment variables, as per HTTP proxy configuration.
Closes #405
Also:
Checklist
Test plan
helm templatewith the override renders, the three vars land on exactly thefrontendandworkercontainers with chart defaults intact, andhelm lintpasses. Novalues.yamlchange, so helm-docs output is unchanged.