Skip to content

Add external Redis example override - #1482

Merged
marcleblanc2 merged 1 commit into
mainfrom
external-redis-example
Nov 11, 2026
Merged

marcleblanc2 merged 1 commit into
mainfrom
external-redis-example

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Adds an example override for using external Redis with Docker Compose. It sets REDIS_CACHE_ENDPOINT and REDIS_STORE_ENDPOINT on every service that uses Redis and disables the built-in Redis containers.

Docs: sourcegraph/docs#2149

Checklist

  • All images have a valid tag and SHA256 sum (no images changed)

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-orphans removed the built-in Redis containers from an existing deployment.

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>
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

@marcleblanc2
marcleblanc2 marked this pull request as ready for review November 11, 2026 04:07
@marcleblanc2
marcleblanc2 requested a review from a team 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
marcleblanc2 enabled auto-merge (squash) November 11, 2026 04:32
@marcleblanc2
marcleblanc2 merged commit d152cfa into main Nov 11, 2026
5 checks passed
@marcleblanc2
marcleblanc2 deleted the external-redis-example branch November 11, 2026 22:56
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants