Skip to content

Instantly share code, notes, and snippets.

@alexfu
Last active April 27, 2023 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexfu/cee642f8e5205d52034b64b09d1c52d0 to your computer and use it in GitHub Desktop.
Save alexfu/cee642f8e5205d52034b64b09d1c52d0 to your computer and use it in GitHub Desktop.
Sourcegraph Docker Compose
version: "3.8"
services:
sourcegraph:
image: sourcegraph/server:4.4.2 # 4.4.2 is the last version that doesn't have a repo limit
container_name: leafly-sourcegraph
ports:
- 7080:7080
- 3370:3370
volumes:
- "~/.sourcegraph/config:/etc/sourcegraph"
- "~/.sourcegraph/data:/var/opt/sourcegraph"
restart: always # Automatically restart container when Docker restarts
@danielrobertson
Copy link

Notes on adding repos

In the UI under Manage Code Hosts, input github token and leafly org
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment