Repository navigation
Add external Redis example override - #1482
Merged
Merged
Conversation
Sets REDIS_CACHE_ENDPOINT and REDIS_STORE_ENDPOINT on every service that connects to Redis, including precise-code-intel-worker and syntactic-code-intel-worker, and disables the built-in redis-cache and redis-store containers. Amp-Thread-ID: https://ampcode.com/threads/T-5e703d95-d3ee-4486-9b11-630a3ae8b3e2 Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2
marked this pull request as ready for review
November 11, 2026 04:07
marcleblanc2
added a commit
to sourcegraph/docs
that referenced
this pull request
Nov 11, 2026
…ts (#2149) Updates [Using your own Redis server](https://sourcegraph.com/docs/self-hosted/external-services/redis): adds a Docker Compose section and removes the deprecated single-container section. **Merge after sourcegraph/deploy-sourcegraph-docker#1482**, which adds the example this page links to. Until then, the link check fails on that URL. ### Test plan - Followed the Docker Compose steps on a full deployment with external Redis; details in sourcegraph/deploy-sourcegraph-docker#1482. - Rendered the page locally. The other docs checks pass. Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2
enabled auto-merge (squash)
November 11, 2026 04:32
michaellzc
approved these changes
Nov 11, 2026
aditiabhang
added a commit
to sourcegraph/docs
that referenced
this pull request
Nov 12, 2026
## Summary - Set `DOCS_LATEST_VERSION` to 8.2 - Add Sourcegraph 8.1 (`https://8.1.sourcegraph.com`) to the version selector The 8.1 docs are archived on [`docs-legacy-versions` `v8_1`](https://github.com/sourcegraph/docs-legacy-versions/tree/v8_1), cut from `45d23e43` (#2149), the last `main` commit before 8.2.0 was published (2026-11-11T19:48:25Z). #2150 merged after that and is not in the archive. These PRs document 8.2 behavior and are reverted on `v8_1`: - #2139 and #2141: Agentic Batch Changes handover and Threads page (sourcegraph/sourcegraph#18298 to #18300 are on `8.2.x`) - #2127: Agentic Batch Changes sharing (sourcegraph/sourcegraph#18196 is on `8.2.x` only) - #2098: Agentic Batch Changes connectors (sourcegraph/sourcegraph#16905 is not on `8.1.x`) - #2149: Redis with Docker Compose (links sourcegraph/deploy-sourcegraph-docker#1482, merged after 8.2.0) ## Merge timing Merge after `8.1.sourcegraph.com` serves the `v8_1` branch, so the selector link does not fail. DNS already points it at Vercel, but HTTPS does not connect yet: the domain still needs mapping on the `docs-legacy-versions` Vercel project. ## Test plan - `npx tsc --noEmit` - `v8_1`: the link check reports no findings beyond those already on `45d23e43` 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 example override for using external Redis with Docker Compose. It sets
REDIS_CACHE_ENDPOINTandREDIS_STORE_ENDPOINTon every service that uses Redis and disables the built-in Redis containers.Docs: sourcegraph/docs#2149
Checklist
Test plan
Ran the full stack with this override against an external Redis (one instance with a password). All services were healthy, connected to it, and logged no Redis errors. Sign-in, cloning, and search worked.
docker compose up -d --remove-orphansremoved the built-in Redis containers from an existing deployment.